mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
Fix wrong notification on merge (#9450)
This commit is contained in:
parent
f8a6eb8f32
commit
4f42e03a35
@ -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…
Reference in New Issue
Block a user