Commit 59564df1 authored by Mark Chao's avatar Mark Chao

Allow NotificationRecipientService::Builder::Default to handle target without project (e.g. Epic)

parent e07a1a5b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment