diff options
-rw-r--r-- | app/services/notification_service.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 2cc0c31d77d..de8049b8e2e 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -518,8 +518,13 @@ class NotificationService def close_resource_email(target, project, current_user, method, skip_current_user: true) action = method == :merged_merge_request_email ? "merge" : "close" - recipients = build_recipients(target, project, current_user, action: action, - skip_current_user: skip_current_user) + recipients = build_recipients( + target, + project, + current_user, + action: action, + skip_current_user: skip_current_user + ) recipients.each do |recipient| mailer.send(method, recipient.id, target.id, current_user.id).deliver_later |