Skip to content
Snippets Groups Projects
Commit d827b4e1 authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix(emails): fix EiC case

parent 79af1b4f
No related branches found
No related tags found
2 merge requests!34Sprint 17 features,!26fix(emails): fix author recieving wrong email
......@@ -81,7 +81,7 @@ module.exports = {
newRecommendation.recommendationType !== 'review' &&
newRecommendation.recommendation !== 'return-to-handling-editor'
) {
if (collection.status === 'revisionRequested') {
if (isEditorInChief || collection.status === 'revisionRequested') {
sendAuthorsEmail({
email,
baseUrl,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment