mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
Fix status code
This commit is contained in:
1 parent
90e93b1f3a
commit
5e11341232
1 file changed
+1
-1
@@ -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