summaryrefslogtreecommitdiff
path: root/app/services/notification_service.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-03-30 13:25:46 +0100
committerSean McGivern <sean@gitlab.com>2018-03-30 13:25:46 +0100
commit5ab75649f3ea00b64cb63e7e5283100c6b70cfb5 (patch)
treec301d3390f5f665640d8f8e931662b28c4242a30 /app/services/notification_service.rb
parent6412c4c54a7a824e108899a34b1ecec5cbdcec4b (diff)
downloadgitlab-ce-5ab75649f3ea00b64cb63e7e5283100c6b70cfb5.tar.gz
Only send issue due emails to participants and custom subscribers
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index 7d3c2856e93..274161df946 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -377,7 +377,8 @@ class NotificationService
recipients = NotificationRecipientService.build_recipients(
issue,
issue.author,
- action: "due_date",
+ action: 'due',
+ custom_action: :issue_due,
skip_current_user: false
)