Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 06:16:09 +01:00
forgejo/routers
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
..
api Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-10-03 14:48:08 +02:00
common [BRANDING] Use forgejo binary name 2023-07-17 00:25:56 +02:00
install [BRANDING] Rebrand default config settings for new installs (#140) 2023-07-17 00:25:55 +02:00
private Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-09-08 08:09:18 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web fix pagination for followers and following (#27127) (#27138) 2023-09-20 12:50:46 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00