BigW Consortium Gitlab

Commit 383b0e96 by Lin Jen-Shin

Well pusher's privilege for read_build could be removed

parent f388fceb
...@@ -323,7 +323,9 @@ class NotificationService ...@@ -323,7 +323,9 @@ class NotificationService
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).map(&:notification_email) action: pipeline.status).map(&:notification_email)
mailer.public_send(email_template, pipeline, recipients).deliver_later if recipients.any?
mailer.public_send(email_template, pipeline, recipients).deliver_later
end
end end
protected protected
......
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