Fixed removal of user from team [SCI-6239]

This commit is contained in:
Martin Artnik 2021-11-08 16:06:28 +01:00
parent 8aded12342
commit 81e7b80bae

View file

@ -26,7 +26,7 @@ class UserTeam < ApplicationRecord
end
end
# destroy all assignments
UserAssignments::RemoveUserAssignmentJob.perform_now(team, user)
UserAssignments::RemoveUserAssignmentJob.perform_now(user, team)
end
# returns user_teams where the user is in team