mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix status code
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
Reference in New Issue
Block a user