Commit 2ccd4c32 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use mailer

parent 4add6ca6
......@@ -323,7 +323,7 @@ class NotificationService
action: pipeline.status)
recipients.each do |to|
Notify.public_send(email_template, pipeline, to).deliver_later
mailer.public_send(email_template, pipeline, to).deliver_later
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