Browse Source

Fix wrong notification on merge (#9450)

tags/v1.21.12.1
guillep2k zeripath 6 years ago
parent
commit
4f42e03a35
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/notification/mail/mail.go

+ 1
- 1
modules/notification/mail/mail.go View File

@@ -106,7 +106,7 @@ func (m *mailNotifier) NotifyMergePullRequest(pr *models.PullRequest, doer *mode
return 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) log.Error("MailParticipants: %v", err)
} }
} }

Loading…
Cancel
Save