diff options
author | Unknwon <u@gogs.io> | 2016-03-21 12:57:04 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-21 12:57:04 -0400 |
commit | 5e11341232b137a4c257bae1fda4a81e2210d254 (patch) | |
tree | 296419b649fb2d06df17c9d5520f4c8735a76912 /routers/api/v1/admin | |
parent | 90e93b1f3a10f2810f7a34024288ae73e64e1098 (diff) | |
download | gitea-5e11341232b137a4c257bae1fda4a81e2210d254.tar.gz gitea-5e11341232b137a4c257bae1fda4a81e2210d254.zip |
Fix status code
Diffstat (limited to 'routers/api/v1/admin')
-rw-r--r-- | routers/api/v1/admin/org_team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/admin/org_team.go b/routers/api/v1/admin/org_team.go index e3f9a1f1f0..4c67b5743a 100644 --- a/routers/api/v1/admin/org_team.go +++ b/routers/api/v1/admin/org_team.go @@ -34,5 +34,5 @@ func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption) { return } - ctx.JSON(200, convert.ToTeam(team)) + ctx.JSON(201, convert.ToTeam(team)) } |