forgejo/routers/api
Giteabot f8bf284794
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>
(cherry picked from commit fbe1f35112)
2023-10-03 14:48:08 +02:00
..
actions Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759) (#26806) 2023-09-08 08:09:18 +02:00
forgejo/v1 [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00
packages Fix NuGet search endpoints (#25613) (#26499) 2023-08-21 07:27:20 +02:00
v1 Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-10-03 14:48:08 +02:00