aboutsummaryrefslogtreecommitdiffstats
path: root/routers/private/actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/private/actions.go')
-rw-r--r--routers/private/actions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/private/actions.go b/routers/private/actions.go
index 74515256da..025a6a2c39 100644
--- a/routers/private/actions.go
+++ b/routers/private/actions.go
@@ -83,7 +83,7 @@ func parseScope(ctx *context.PrivateContext, scope string) (ownerID, repoID int6
return ownerID, repoID, nil
}
- r, err := repo_model.GetRepositoryByName(u.ID, repoName)
+ r, err := repo_model.GetRepositoryByName(ctx, u.ID, repoName)
if err != nil {
return ownerID, repoID, err
}