summaryrefslogtreecommitdiff
path: root/app/services/notification_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index afc9015e758..6ad3a74b85d 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -598,8 +598,8 @@ class NotificationService
user.notification_email_for(pipeline.project.group)
end
- if recipients.any?
- mailer.public_send(email_template, pipeline, recipients).deliver_later
+ recipients.each do |recipient|
+ mailer.public_send(email_template, pipeline, recipient).deliver_later
end
end