summaryrefslogtreecommitdiffstats
path: root/routers/api
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/v1/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index 4d8364afb0..b68bf4b0b8 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -150,6 +150,7 @@ func repoAssignment() macaron.Handler {
}
return
}
+
repo.Owner = owner
ctx.Repo.Repository = repo