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

feat(user-manager): send manuscript email to existing author

parent ea6c49ec
No related branches found
No related tags found
2 merge requests!34Sprint 17 features,!27Hin 832 send email to existing coauthor
......@@ -92,6 +92,15 @@ module.exports = models => async (req, res) => {
collection.save()
}
notifications.sendNotifications({
user,
baseUrl,
fragment,
collection,
UserModel: models.User,
isSubmitting,
})
return res.status(200).json({
...pick(user, authorKeys),
isSubmitting,
......
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