aboutsummaryrefslogtreecommitdiff
path: root/internal/route/lfs/batch.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/lfs/batch.go')
-rw-r--r--internal/route/lfs/batch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/lfs/batch.go b/internal/route/lfs/batch.go
index bfc364c2..bde3140d 100644
--- a/internal/route/lfs/batch.go
+++ b/internal/route/lfs/batch.go
@@ -75,7 +75,7 @@ func serveBatch(c *macaron.Context, owner *db.User, repo *db.Repository) {
for _, obj := range request.Objects {
oids = append(oids, obj.Oid)
}
- stored, err := db.LFS.GetObjectsByOIDs(repo.ID, oids...)
+ stored, err := db.LFS.GetObjectsByOIDs(c.Req.Context(), repo.ID, oids...)
if err != nil {
internalServerError(c.Resp)
log.Error("Failed to get objects [repo_id: %d, oids: %v]: %v", repo.ID, oids, err)