Skip to content
Snippets Groups Projects
Commit de4add58 authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

feat(component-invite): fix email thank you

parent 20ad1e7f
No related branches found
No related tags found
1 merge request!10Sprint #12
......@@ -80,17 +80,18 @@ const setupReviewerDecisionEmailData = async ({
timestamp,
},
})
await mailService.sendNotificationEmail({
toEmail: user.email,
user,
emailType: 'reviewer-thank-you',
meta: {
collection: { customId: collection.customId, id: collection.id },
fragment: { id, title, authorName },
handlingEditorName: collection.handlingEditor.name,
baseUrl,
},
})
if (agree)
await mailService.sendNotificationEmail({
toEmail: user.email,
user,
emailType: 'reviewer-thank-you',
meta: {
collection: { customId: collection.customId, id: collection.id },
fragment: { id, title, authorName },
handlingEditorName: collection.handlingEditor.name,
baseUrl,
},
})
}
const setupReviewerUnassignEmail = async ({
......
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