mirror of
1
Fork 0
forgejo/routers/api/v1/org
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
..
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 [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
team.go Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-10-03 14:48:08 +02:00