Merge pull request #3641 from artoscinote/ma_SCI_6239

Fixed removal of user from team [SCI-6239]
This commit is contained in:
Alex Kriuchykhin 2021-11-08 20:56:59 +01:00 committed by GitHub
commit 7d92e3c8e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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