diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 18:10:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-07 18:10:33 +0300 |
commit | 73d39cc50e91d5b57cfec15a6b738301a4df9fa0 (patch) | |
tree | 0dbc04fd420ed26aeefcfc573c538d798644d5ab /app/services/notification_service.rb | |
parent | e227f482346aa39655cdebb5a59eeef78e1e12b4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 4ff462191fe..d0bd3206556 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -118,8 +118,8 @@ class NotificationService # * project team members with notification level higher then Participating # * users with custom level checked with "close issue" # - def close_issue(issue, current_user, closed_via: nil) - close_resource_email(issue, current_user, :closed_issue_email, closed_via: closed_via) + def close_issue(issue, current_user, params = {}) + close_resource_email(issue, current_user, :closed_issue_email, closed_via: params[:closed_via]) end # When we reassign an issue we should send an email to: |