From 4bbcb9d94b73ed27598ee7943e811a1e41e3ba0f Mon Sep 17 00:00:00 2001 From: Yogmatee Roochun <yroochun@ebi.ac.uk> Date: Fri, 15 Mar 2019 14:06:00 +0000 Subject: [PATCH] email in case of disastergit add server/xml-validation/index.js --- server/xml-validation/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/xml-validation/index.js b/server/xml-validation/index.js index efab2f869..52e50f57c 100755 --- a/server/xml-validation/index.js +++ b/server/xml-validation/index.js @@ -140,6 +140,7 @@ module.exports.pushXML = async function pushXML(fileUrl, manuscriptId) { await db.upsertFileUrl(dbFilesArr, manuscriptId) await Manuscript.updatePdfDepositState(manuscriptId) await Manuscript.clearFormState(manuscriptId) + await files.tidyUp(tmpPath) logger.info('Uploading to Minio and the database has been completed.') } else { let styleErrString = `Style Errors: <br/><br/>` -- GitLab