Fix wrong notification on merge (#9450)

pull/9449/head^2
guillep2k 5 years ago committed by zeripath
parent f8a6eb8f32
commit 4f42e03a35
  1. 2
      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)
}
}

Loading…
Cancel
Save