Fix wrong notification on merge (#9450)

This commit is contained in:
guillep2k 2019-12-20 19:31:05 -03:00 коммит произвёл zeripath
Родитель f8a6eb8f32
Коммит 4f42e03a35
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)
}
}