Browse Source

Fix status code

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
d2f481e85f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/api/v1/admin/org_team.go

+ 1
- 1
routers/api/v1/admin/org_team.go View File

@@ -34,5 +34,5 @@ func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption) {
return return
} }


ctx.JSON(200, convert.ToTeam(team))
ctx.JSON(201, convert.ToTeam(team))
} }

Loading…
Cancel
Save