Commit 531381cb authored by Zhan's avatar Zhan

Merge branch 'dev' of https://gitlab.coko.foundation/xpub/xpub-epmc into dev

parents 245623cb 560d861b
Pipeline #12311 passed with stages
in 1 minute and 13 seconds
......@@ -552,6 +552,8 @@ async function submitManuscript(manuscriptdb, submitter) {
status: 'submitted',
}
const { userId } = submitter
logger.info('FTP submitting manuscript: ', JSON.stringify(input))
await ManuscriptManager.submit(input, userId)
}
......
......@@ -130,6 +130,7 @@ const resolvers = {
if (!user) {
throw new Error('You are not authenticated!')
}
logger.info('Submitting manuscript: ', JSON.stringify(data))
const submittedMan = await ManuscriptManager.submit(data, user)
return submittedMan
},
......
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