Fix status code

release/v1.15
Unknwon 2016-03-21 12:57:04 -04:00
parent 90e93b1f3a
commit 5e11341232
1 changed files with 1 additions and 1 deletions

View File

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