Skip to content
Snippets Groups Projects
Commit 1870e69c authored by Mihail Hagiu's avatar Mihail Hagiu
Browse files

fix(RemoveHE): Added await for a line

parent 116579d0
No related branches found
No related tags found
3 merge requests!196S25 - EiC submit revision,!189S25,!170feat(AuthorEmailHERemoved): Created email template and code for sending it
......@@ -102,7 +102,7 @@ module.exports = models => async (req, res) => {
fragment.invitations = []
fragment.recommendations = []
fragment.revision && delete fragment.revision
fragment.save()
await fragment.save()
notifications.notifyAuthorWhenHERemoved({
models,
......
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