Skip to content
Snippets Groups Projects
Commit 04c69f8c authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

Merge branch 'develop' of https://gitlab.coko.foundation/xpub/xpub-faraday into develop

parents b194321b d1ea28f7
No related branches found
No related tags found
1 merge request!10Sprint #12
...@@ -91,8 +91,9 @@ module.exports = models => async (req, res) => { ...@@ -91,8 +91,9 @@ module.exports = models => async (req, res) => {
) )
if (reason !== undefined) { if (reason !== undefined) {
invitation.reason = reason invitation.reason = reason
await collection.save()
} }
await collection.save()
try { try {
if (invitation.role === 'handlingEditor') { if (invitation.role === 'handlingEditor') {
await mailService.sendSimpleEmail({ await mailService.sendSimpleEmail({
......
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