mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 06:44:55 +08:00
Merge pull request #3641 from artoscinote/ma_SCI_6239
Fixed removal of user from team [SCI-6239]
This commit is contained in:
commit
7d92e3c8e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue