-
- Downloads
Add X-GitLab-NotificationReason header to note emails
The 'assigned' reason doesn't apply to notes, but the other two can ('mentioned' and 'own_activity'), so we can still use this for note emails.
Showing
- app/mailers/emails/notes.rb 13 additions, 12 deletionsapp/mailers/emails/notes.rb
- app/services/notification_service.rb 1 addition, 1 deletionapp/services/notification_service.rb
- changelogs/unreleased/add-notification-reason-to-note-emails.yml 5 additions, 0 deletions...ogs/unreleased/add-notification-reason-to-note-emails.yml
- spec/services/notification_service_spec.rb 4 additions, 0 deletionsspec/services/notification_service_spec.rb
Please register or sign in to comment