aboutsummaryrefslogtreecommitdiff
path: root/internal/route/repo/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/repo/http.go')
-rw-r--r--internal/route/repo/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/repo/http.go b/internal/route/repo/http.go
index 888ad4d8..af51a076 100644
--- a/internal/route/repo/http.go
+++ b/internal/route/repo/http.go
@@ -76,7 +76,7 @@ func HTTPContexter() macaron.Handler {
return
}
- repo, err := db.Repos.GetByName(owner.ID, repoName)
+ repo, err := db.Repos.GetByName(c.Req.Context(), owner.ID, repoName)
if err != nil {
if db.IsErrRepoNotExist(err) {
c.Status(http.StatusNotFound)