forked from gitea/gitea
1
0
Fork 0
gitea/routers/api
Giteabot fbe1f35112
Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162)
Backport #27150 by @memphis88

Similarly to the fix in https://github.com/go-gitea/gitea/pull/24694,
this addresses the team creation not returning the organization
information in the response.

This fix is connected to the
[issue](https://gitea.com/gitea/terraform-provider-gitea/issues/27)
discovered in the terraform provider.
Moreover, the
[documentation](https://docs.gitea.com/api/1.20/#tag/organization/operation/orgCreateTeam)
suggests that the response body should include the `organization` field
(currently being `null`).

Co-authored-by: Dionysios Kakouris <1369451+memphis88@users.noreply.github.com>
2023-09-21 12:14:59 +02:00
..
actions Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759) (#26806) 2023-08-30 02:25:34 -04:00
packages Fix NuGet search endpoints (#25613) (#26499) 2023-08-16 06:01:20 +00:00
v1 Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-09-21 12:14:59 +02:00