Skip to content
Snippets Groups Projects
Commit 691ed8ac authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

recipients should be a list of emails

parent 1c38dbca
No related branches found
No related tags found
1 merge request!6342Integrate CI emails into notification system
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment