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