mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 06:06:24 +08:00
Fixed removal of user from team [SCI-6239]
This commit is contained in:
parent
8aded12342
commit
81e7b80bae
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…
Add table
Reference in a new issue