From 3abc41cccab2486012b46305827433ad6f5deade Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 18 Oct 2014 23:26:55 -0400 Subject: Fix API broken --- routers/repo/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/repo/http.go') diff --git a/routers/repo/http.go b/routers/repo/http.go index 81b49bf3..3641f4da 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -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 { -- cgit v1.2.3