diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-14 20:00:36 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-17 07:24:48 +0000 |
commit | 691ed8aca410e8025582579cfa8454b1e54acb12 (patch) | |
tree | bc613673beede69d70247b1e897b8b73f204efed /app/services/notification_service.rb | |
parent | 1c38dbcadc23485ce1421f10d6062fb00221e0e1 (diff) | |
download | gitlab-ce-691ed8aca410e8025582579cfa8454b1e54acb12.tar.gz |
recipients should be a list of emails
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 4fef2395c6f..d4976aa8362 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -321,10 +321,10 @@ class NotificationService pipeline, pipeline.project, nil, # The acting user, who won't be added to recipients - action: pipeline.status) + action: pipeline.status).map(&:email) recipients.each do |to| - mailer.public_send(email_template, pipeline, to.email).deliver_later + mailer.public_send(email_template, pipeline, to).deliver_later end end |