Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-20 13:13:45 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-10-20 13:13:45 +0300
commit1cdad622aacf9ae7e7d61e575aaa77dddf7ae7b9 (patch)
tree62ccc2f5f30266f537a4dc97c27b2e85bc0c476f /app/services/notification_service.rb
parenta87b6cc3f550dff2fd4189970a3d2456052987a3 (diff)
Should send to notification_email instead, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_17146325
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index d5d69248af7..2cc9a9fd7bf 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -321,7 +321,7 @@ class NotificationService
pipeline,
pipeline.project,
nil, # The acting user, who won't be added to recipients
- action: pipeline.status).map(&:email)
+ action: pipeline.status).map(&:notification_email)
mailer.public_send(email_template, pipeline, recipients).deliver_later
end