mirror of
https://gitee.com/gitea/gitea
synced 2025-11-11 03:50:29 +08: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