Commit 691ed8ac authored by Lin Jen-Shin's avatar Lin Jen-Shin

recipients should be a list of emails

parent 1c38dbca
...@@ -321,10 +321,10 @@ class NotificationService ...@@ -321,10 +321,10 @@ class NotificationService
pipeline, pipeline,
pipeline.project, pipeline.project,
nil, # The acting user, who won't be added to recipients nil, # The acting user, who won't be added to recipients
action: pipeline.status) action: pipeline.status).map(&:email)
recipients.each do |to| 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
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment