Skip to content
Snippets Groups Projects
Commit 0d83e1e4 authored by Sebastian's avatar Sebastian
Browse files

speram

parent 6e647e5e
No related branches found
No related tags found
1 merge request!5Refactor component invite
......@@ -53,6 +53,7 @@ module.exports = models => async (req, res) => {
models.Team,
)
delete collection.handlingEditor
await collection.save()
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