diff options
Diffstat (limited to 'internal/route/repo/tasks.go')
-rw-r--r-- | internal/route/repo/tasks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/repo/tasks.go b/internal/route/repo/tasks.go index c5b555b9..d9215885 100644 --- a/internal/route/repo/tasks.go +++ b/internal/route/repo/tasks.go @@ -44,7 +44,7 @@ func TriggerTask(c *macaron.Context) { 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.Error(http.StatusBadRequest, "Repository does not exist") |