aboutsummaryrefslogtreecommitdiffstats
path: root/services/task/migrate.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/task/migrate.go')
-rw-r--r--services/task/migrate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/task/migrate.go b/services/task/migrate.go
index faca6908a2..307c60a09a 100644
--- a/services/task/migrate.go
+++ b/services/task/migrate.go
@@ -51,7 +51,7 @@ func runMigrateTask(t *admin_model.Task) (err error) {
if err == nil {
err = admin_model.FinishMigrateTask(t)
if err == nil {
- notification.NotifyMigrateRepository(t.Doer, t.Owner, t.Repo)
+ notification.NotifyMigrateRepository(db.DefaultContext, t.Doer, t.Owner, t.Repo)
return
}