1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix API broken

This commit is contained in:
Unknwon
2014-10-18 23:26:55 -04:00
parent 9e3a1bc11a
commit 3abc41ccca
10 changed files with 12 additions and 10 deletions

View File

@@ -204,7 +204,7 @@ func Http(ctx *middleware.Context) {
config := Config{setting.RepoRootPath, "git", true, true, f}
handler := HttpBackend(&config)
handler(ctx.Resp, ctx.Req)
handler(ctx.Resp, ctx.Req.Request)
}
type route struct {