Skip to content

Commit

Permalink
Fix wrong notification on merge (#9450)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep2k authored and zeripath committed Dec 20, 2019
1 parent f8a6eb8 commit 4f42e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/notification/mail/mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *mode
return
}

if err := mailer.MailParticipants(pr.Issue, doer, models.ActionClosePullRequest); err != nil {
if err := mailer.MailParticipants(pr.Issue, doer, models.ActionMergePullRequest); err != nil {
log.Error("MailParticipants: %v", err)
}
}

0 comments on commit 4f42e03

Please sign in to comment.