aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private/restore_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/restore_repo.go')
-rw-r--r--routers/private/restore_repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/restore_repo.go b/routers/private/restore_repo.go
index c002de874a..df787e1b33 100644
--- a/routers/private/restore_repo.go
+++ b/routers/private/restore_repo.go
@@ -36,7 +36,7 @@ func RestoreRepo(ctx *myCtx.PrivateContext) {
}
if err := migrations.RestoreRepository(
- ctx.Req.Context(),
+ ctx,
params.RepoDir,
params.OwnerName,
params.RepoName,