Skip to content

Commit 4f42e03

Browse files
guillep2kzeripath
authored andcommitted
Fix wrong notification on merge (#9450)
1 parent f8a6eb8 commit 4f42e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/notification/mail/mail.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *mode
106106
return
107107
}
108108

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

0 commit comments

Comments
 (0)