Skip to content
Snippets Groups Projects
Commit 6e647e5e authored by Sebastian's avatar Sebastian
Browse files

m

parent a3c75263
No related branches found
No related tags found
1 merge request!5Refactor component invite
......@@ -52,6 +52,7 @@ module.exports = models => async (req, res) => {
invitation.role,
models.Team,
)
delete collection.handlingEditor
await teamHelper.removeTeamMember(team.id, user.id, models.Team)
user.teams = user.teams.filter(userTeamId => team.id !== userTeamId)
if (reason !== undefined) {
......
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