Skip to content

Commit 93427b4

Browse files
Update notify.go
1 parent 8184bfd commit 93427b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/mailer/notify.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ func (m *mailNotifier) NewRelease(ctx context.Context, rel *repo_model.Release)
198198
MailNewRelease(ctx, rel)
199199
}
200200

201+
func (m *mailNotifier) RepoPendingTransfer(ctx context.Context, doer, newOwner *user_model.User, repo *repo_model.Repository) {
202+
if err := SendRepoTransferNotifyMail(ctx, doer, newOwner, repo); err != nil {
203+
log.Error("SendRepoTransferNotifyMail: %v", err)
204+
}
201205
func (m *mailNotifier) ActionRunFinished(ctx context.Context, run *actions_model.ActionRun) {
202206
if run.Status != actions_model.StatusSuccess && run.Status != actions_model.StatusFailure {
203207
return

0 commit comments

Comments
 (0)