0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 10:54:02 -05:00
forgejo/routers/api/v1
Giteabot 0ca233258d
Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163)
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:15:20 +02:00
..
activitypub More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
admin Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
misc Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
notify Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) 2023-09-21 12:15:20 +02:00
packages Add missing 404 response to Swagger (#27038) 2023-09-13 10:37:54 +08:00
repo Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
settings
swagger refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
user Fix token endpoints ignore specified account (#27080) 2023-09-18 00:21:15 +00:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Fix token endpoints ignore specified account (#27080) 2023-09-18 00:21:15 +00:00