Browse Source

Fix status code

pull/2879/head
Unknwon 9 years ago
parent
commit
5e11341232
  1. 2
      routers/api/v1/admin/org_team.go

2
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))
}

Loading…
Cancel
Save