Fix notification issue
This commit is contained in:
parent
76a4cbe464
commit
65d9f8c16c
2 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class NotificationService
|
|||
|
||||
opts = { noteable_type: note.noteable_type, project_id: note.project_id }
|
||||
|
||||
if note.commit_id
|
||||
if note.commit_id.present?
|
||||
opts.merge!(commit_id: note.commit_id)
|
||||
recipients = [note.commit_author]
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue