From 6552096143eb1d59841ed7c088b580c6f0cf1b4b Mon Sep 17 00:00:00 2001 From: Sebastian Mihalache <sebastian.mihalache@gmail.con> Date: Fri, 22 Jun 2018 15:07:32 +0300 Subject: [PATCH] fix link in submit rev --- packages/component-helper-service/src/services/Email.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/component-helper-service/src/services/Email.js b/packages/component-helper-service/src/services/Email.js index 7e7bcd451..79af42937 100644 --- a/packages/component-helper-service/src/services/Email.js +++ b/packages/component-helper-service/src/services/Email.js @@ -32,6 +32,7 @@ class Email { FragmentModel, }) { const { + baseUrl, UserModel, collection, parsedFragment: { recommendations, title, type, id }, @@ -83,6 +84,7 @@ class Email { reviewers.forEach(user => mailService.sendNotificationEmail({ + baseUrl, emailType, toEmail: user.email, meta: { @@ -178,15 +180,15 @@ class Email { if (returnWithComments) emailType = 'he-manuscript-return-with-comments' mailService.sendNotificationEmail({ toEmail, - baseUrl, emailType, meta: { + baseUrl, collection, reviewerName, eicComments, eicName: `${eic.firstName} ${eic.lastName}`, - handlingEditorName: get(collection, 'handlingEditor.name') || '', emailSubject: `${collection.customId}: Manuscript Decision`, + handlingEditorName: get(collection, 'handlingEditor.name') || '', fragment: { id, title, -- GitLab