diff --git a/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js b/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js index a1c7422bc45bbe2440213d04d4d6b06524b58896..bc2841276ba9300ce4c39b51068989b5b879b0ce 100644 --- a/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js +++ b/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js @@ -18,6 +18,8 @@ module.exports = { async sendEQSEmail({ baseUrl, fragment, UserModel, collection }) { const userHelper = new User({ UserModel }) const eicName = await userHelper.getEiCName() + const fragmentHelper = new Fragment({ fragment }) + const { title } = await fragmentHelper.getFragmentData({}) const { paragraph, ...bodyProps } = getEmailCopy({ emailType: 'eqs-manuscript-submitted', @@ -37,6 +39,7 @@ module.exports = { signatureName: eicName, signatureJournal: journalName, ctaLink: services.createUrl(baseUrl, config.get('eqs-decision.url'), { + title, collectionId: collection.id, customId: collection.customId, token: collection.technicalChecks.token,