diff options
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r-- | app/services/notification_service.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb index 32b23d4978f..2477fcd02e5 100644 --- a/app/services/notification_service.rb +++ b/app/services/notification_service.rb @@ -447,7 +447,9 @@ class NotificationService return false end - recipients = NotificationRecipients::BuildService.build_new_release_recipients(release) + recipients = NotificationRecipients::BuildService.build_recipients(release, + release.author, + action: "new") recipients.each do |recipient| mailer.new_release_email(recipient.user.id, release, recipient.reason).deliver_later |