mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Merge pull request #5994 from okriuchykhin/ok_SCI_9053_v2
Fix calls of user assignment propagation jobs with optional assigned_by [SCI-9053]
This commit is contained in:
commit
0c304ec80c
|
@ -29,7 +29,7 @@ module UserAssignments
|
|||
project,
|
||||
user.id,
|
||||
project.default_public_user_role || UserRole.find_predefined_viewer_role,
|
||||
@assigned_by.id
|
||||
@assigned_by&.id
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -24,7 +24,7 @@ module UserAssignments
|
|||
UserAssignments::ProjectGroupAssignmentJob.perform_later(
|
||||
@team,
|
||||
project,
|
||||
@assigned_by.id
|
||||
@assigned_by&.id
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue