diff options
Diffstat (limited to 'services/notify/notify.go')
-rw-r--r-- | services/notify/notify.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/notify/notify.go b/services/notify/notify.go index 3b5f24340b..c97d0fcbaf 100644 --- a/services/notify/notify.go +++ b/services/notify/notify.go @@ -272,9 +272,9 @@ func MigrateRepository(ctx context.Context, doer, u *user_model.User, repo *repo } // TransferRepository notifies create repository to notifiers -func TransferRepository(ctx context.Context, doer *user_model.User, repo *repo_model.Repository, newOwnerName string) { +func TransferRepository(ctx context.Context, doer *user_model.User, repo *repo_model.Repository, oldOwnerName string) { for _, notifier := range notifiers { - notifier.TransferRepository(ctx, doer, repo, newOwnerName) + notifier.TransferRepository(ctx, doer, repo, oldOwnerName) } } |