From 4f42e03a3504e326b4f61969b796e8548598c49d Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Fri, 20 Dec 2019 19:31:05 -0300 Subject: [PATCH] Fix wrong notification on merge (#9450) --- modules/notification/mail/mail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/notification/mail/mail.go b/modules/notification/mail/mail.go index 38146cef2..e9a6ad7af 100644 --- a/modules/notification/mail/mail.go +++ b/modules/notification/mail/mail.go @@ -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) } }