mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 07:34:26 +00:00
Fix status code
This commit is contained in:
parent
90e93b1f3a
commit
5e11341232
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user