aboutsummaryrefslogtreecommitdiff
path: root/internal/route/lfs/route.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/lfs/route.go')
-rw-r--r--internal/route/lfs/route.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/lfs/route.go b/internal/route/lfs/route.go
index 23ece92b..f5195837 100644
--- a/internal/route/lfs/route.go
+++ b/internal/route/lfs/route.go
@@ -130,7 +130,7 @@ func authorize(mode db.AccessMode) macaron.Handler {
return
}
- if !db.Perms.Authorize(actor.ID, repo.ID, mode,
+ if !db.Perms.Authorize(c.Req.Context(), actor.ID, repo.ID, mode,
db.AccessModeOptions{
OwnerID: repo.OwnerID,
Private: repo.IsPrivate,