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 c901c343b92e974cc532becf8b6c881411212e89..973f167c7c254c341b3829b9610e5bd9f56e829b 100644 --- a/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js +++ b/packages/component-manuscript-manager/src/routes/fragments/notifications/notifications.js @@ -115,6 +115,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', @@ -134,6 +136,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,