aboutsummaryrefslogtreecommitdiff
path: root/routers/api
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/v1/api.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index d2ebd1b1..01577bba 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -22,8 +22,6 @@ import (
func RepoAssignment() macaron.Handler {
return func(ctx *middleware.Context) {
- ctx.Repo = &middleware.RepoContext{}
-
userName := ctx.Params(":username")
repoName := ctx.Params(":reponame")