diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-28 15:10:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-28 15:10:42 +0300 |
commit | 62a3deaa9f6e1e1986c43b49a41a917201ec2734 (patch) | |
tree | ce1e28b7a44c24da614253173c58dc50f161ee94 /app/services/event_create_service.rb | |
parent | 603425e1f4ca8678398278e18b68889fc00c90dc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/event_create_service.rb')
-rw-r--r-- | app/services/event_create_service.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/services/event_create_service.rb b/app/services/event_create_service.rb index 1893cfcfcff..b755f512772 100644 --- a/app/services/event_create_service.rb +++ b/app/services/event_create_service.rb @@ -190,10 +190,14 @@ class EventCreateService private def create_record_event(record, current_user, status, fingerprint = nil) - create_event(record.resource_parent, current_user, status, - fingerprint: fingerprint, - target_id: record.id, - target_type: record.class.name) + create_event( + record.resource_parent, + current_user, + status, + fingerprint: fingerprint, + target_id: record.id, + target_type: record.class.name + ) end # If creating several events, this method will insert them all in a single |