Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27167)

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>
This commit is contained in:
Giteabot 2023-09-22 04:23:33 +08:00 committed by GitHub
parent fbe1f35112
commit d99479c810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Diff Content Not Available