Commit 4cfa1453 authored by ahamelers's avatar ahamelers
Browse files
parent d904d0c0
Pipeline #12827 passed with stages
in 1 minute and 17 seconds
......@@ -11,7 +11,7 @@ module.exports.createGrantLinks = async function createGrantLinks(
) {
try {
const filename = `grants${
manuscripts.length === 1 ? `-${manuscripts[0].id}` : ''
manuscripts.length === 1 ? `${manuscripts[0].id}` : ''
}.${moment().format('YYYY_MM_DD-HH_mm_SS')}.xml`
const sendManuscripts = manuscripts.reduce((list, manuscript) => {
const articleIds =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment