diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-03-30 18:43:45 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-03-30 18:43:45 +0300 |
commit | 7c36e8561c60882e6b0b47c563f7d19f3d6b02a6 (patch) | |
tree | 2c833fc39f5a86717ddedf1e5e47cf247daf0f9a /app/services | |
parent | 4e8bde967e9beb2d2749bd9d2358adeb895ae2dc (diff) | |
parent | b5987e62ea609b2bb55ab762d074a1fd2642d325 (diff) |
Merge branch '41967_issue_api_closed_by_info' into 'master'
Add closed by information to issue API
See merge request gitlab-org/gitlab-ce!17042
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/issues/close_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/issues/close_service.rb b/app/services/issues/close_service.rb index 0c5cf2c62ad..fee5bc38f7b 100644 --- a/app/services/issues/close_service.rb +++ b/app/services/issues/close_service.rb @@ -23,6 +23,7 @@ module Issues end if project.issues_enabled? && issue.close + issue.update(closed_by: current_user) event_service.close_issue(issue, current_user) create_note(issue, commit) if system_note notification_service.close_issue(issue, current_user) if notifications |