mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
fix #2085
This commit is contained in:
parent
149e540322
commit
e350d74c8a
@ -19,6 +19,8 @@ import (
|
|||||||
|
|
||||||
func ApiRepoAssignment() macaron.Handler {
|
func ApiRepoAssignment() macaron.Handler {
|
||||||
return func(ctx *Context) {
|
return func(ctx *Context) {
|
||||||
|
ctx.Repo = &RepoContext{}
|
||||||
|
|
||||||
userName := ctx.Params(":username")
|
userName := ctx.Params(":username")
|
||||||
repoName := ctx.Params(":reponame")
|
repoName := ctx.Params(":reponame")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user