forgejo/routers/api/v1/org
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
..
hook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
label.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
member.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
org.go Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
team.go Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-09-21 12:14:59 +02:00