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:
Alex Kriuchykhin 2023-08-16 14:51:46 +02:00 committed by GitHub
commit 0c304ec80c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -24,7 +24,7 @@ module UserAssignments
UserAssignments::ProjectGroupAssignmentJob.perform_later(
@team,
project,
@assigned_by.id
@assigned_by&.id
)
end
end