summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorMichał Zając <gitlab.com@quintasan.pl>2019-05-16 11:59:02 +0000
committerRémy Coutable <remy@rymai.me>2019-05-16 11:59:02 +0000
commit411f545ce6a88db8370e639989d9c8f6d3621cbe (patch)
treeb9fe7fa6acc5a18d0aa3a87a39481521028557d0 /app/workers
parent2d0f349baf83bee47c062896ac71a678e3b5f77b (diff)
downloadgitlab-ce-411f545ce6a88db8370e639989d9c8f6d3621cbe.tar.gz
Include MR information if possible when emailing notification of closing an issue
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/process_commit_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/process_commit_worker.rb b/app/workers/process_commit_worker.rb
index 29a7f8e691a..3efb5343a96 100644
--- a/app/workers/process_commit_worker.rb
+++ b/app/workers/process_commit_worker.rb
@@ -48,7 +48,7 @@ class ProcessCommitWorker
# Issues::CloseService#execute.
IssueCollection.new(issues).updatable_by_user(user).each do |issue|
Issues::CloseService.new(project, author)
- .close_issue(issue, commit: commit)
+ .close_issue(issue, closed_via: commit)
end
end