summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/admin/org.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/admin/org.go')
-rw-r--r--routers/api/v1/admin/org.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/api/v1/admin/org.go b/routers/api/v1/admin/org.go
index 1162c96c5f..706e2cedeb 100644
--- a/routers/api/v1/admin/org.go
+++ b/routers/api/v1/admin/org.go
@@ -13,7 +13,8 @@ import (
"code.gitea.io/gitea/routers/api/v1/user"
)
-// https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization
+// CreateOrg api for create organization
+// see https://github.com/gogits/go-gogs-client/wiki/Administration-Organizations#create-a-new-organization
func CreateOrg(ctx *context.APIContext, form api.CreateOrgOption) {
u := user.GetUserByParams(ctx)
if ctx.Written() {