From 9852c92e9a633fdd318fde5014a12ef299b990ef Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 18 Oct 2023 23:03:10 +0800 Subject: Remove unnecessary parameter (#27671) --- routers/api/v1/repo/migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/api') diff --git a/routers/api/v1/repo/migrate.go b/routers/api/v1/repo/migrate.go index 14ff04e7bf..839fbfe8a1 100644 --- a/routers/api/v1/repo/migrate.go +++ b/routers/api/v1/repo/migrate.go @@ -200,7 +200,7 @@ func Migrate(ctx *context.APIContext) { } if repo != nil { - if errDelete := repo_service.DeleteRepositoryDirectly(ctx, ctx.Doer, repoOwner.ID, repo.ID); errDelete != nil { + if errDelete := repo_service.DeleteRepositoryDirectly(ctx, ctx.Doer, repo.ID); errDelete != nil { log.Error("DeleteRepository: %v", errDelete) } } -- cgit v1.2.3