diff options
Diffstat (limited to 'routers/api/v1/admin/repos.go')
-rw-r--r-- | routers/api/v1/admin/repos.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/admin/repos.go b/routers/api/v1/admin/repos.go index 27f46c51c5..0f0c3862de 100644 --- a/routers/api/v1/admin/repos.go +++ b/routers/api/v1/admin/repos.go @@ -13,7 +13,7 @@ import ( ) // https://github.com/gogits/go-gogs-client/wiki/Administration-Repositories#create-a-new-repository -func CreateRepo(ctx *context.Context, form api.CreateRepoOption) { +func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption) { owner := user.GetUserByParams(ctx) if ctx.Written() { return |