Skip to content
Snippets Groups Projects
Commit 4bbcb9d9 authored by Yogmatee Roochun's avatar Yogmatee Roochun
Browse files

email in case of disastergit add server/xml-validation/index.js

parent f5b1828d
No related branches found
No related tags found
2 merge requests!101Shared data model,!102Shared data model
...@@ -140,6 +140,7 @@ module.exports.pushXML = async function pushXML(fileUrl, manuscriptId) { ...@@ -140,6 +140,7 @@ module.exports.pushXML = async function pushXML(fileUrl, manuscriptId) {
await db.upsertFileUrl(dbFilesArr, manuscriptId) await db.upsertFileUrl(dbFilesArr, manuscriptId)
await Manuscript.updatePdfDepositState(manuscriptId) await Manuscript.updatePdfDepositState(manuscriptId)
await Manuscript.clearFormState(manuscriptId) await Manuscript.clearFormState(manuscriptId)
await files.tidyUp(tmpPath)
logger.info('Uploading to Minio and the database has been completed.') logger.info('Uploading to Minio and the database has been completed.')
} else { } else {
let styleErrString = `Style Errors: <br/><br/>` let styleErrString = `Style Errors: <br/><br/>`
......
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