diff options
author | Mark Chao <mchao@gitlab.com> | 2018-07-30 17:38:20 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-08-14 15:04:22 +0800 |
commit | 59564df15f5fc0893fcd09cfb00d8c8e6534696d (patch) | |
tree | 6d5e874ee1daf1628de44e915061bbbdd3ebbd72 /app/services | |
parent | e07a1a5bb43f659f5289a7b317a081465945af4d (diff) | |
download | gitlab-ce-59564df15f5fc0893fcd09cfb00d8c8e6534696d.tar.gz |
Allow NotificationRecipientService::Builder::Default to handle target without project (e.g. Epic)
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/notification_recipient_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb index 1d6c45c515b..1172fdbea8d 100644 --- a/app/services/notification_recipient_service.rb +++ b/app/services/notification_recipient_service.rb @@ -130,7 +130,7 @@ module NotificationRecipientService end def add_project_watchers - add_recipients(project_watchers, :watch, nil) + add_recipients(project_watchers, :watch, nil) if project end def add_group_watchers |