diff --git a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js index 65b20af201e25261df6e13406fd4ae9bb5ec69d2..27cb6f10d1a6e8f53c3382b9f6b52c3ad0be4ead 100644 --- a/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js +++ b/packages/component-manuscript-manager/src/routes/fragmentsRecommendations/post.js @@ -68,15 +68,16 @@ module.exports = models => async (req, res) => { collection, recommendation, ) - await userHelper.setupAuthorsEmailData({ - baseUrl, - UserModel: models.User, - collection, - mailService, - fragment: { title, submittingAuthor }, - comments: get(heRecommendation, 'comments'), - requestToRevision: false, - }) + if (recommendation !== 'publish') + await userHelper.setupAuthorsEmailData({ + baseUrl, + UserModel: models.User, + collection, + mailService, + fragment: { title, submittingAuthor }, + comments: get(heRecommendation, 'comments'), + requestToRevision: false, + }) } else if (recommendationType === 'editorRecommendation') { await collectionHelper.updateStatusByRecommendation( collection,