forgejo/routers/api/v1
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
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin fix Missing 404 swagger response docs for /admin/users/{username} (#26086) (#26089) 2023-07-24 12:07:39 +02:00
misc Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
notify Fix bugs related to notification endpoints (#25548) (#25562) 2023-06-28 16:24:48 +00:00
org Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-09-21 12:14:59 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo Fix some slice append usages (#26778) (#26798) 2023-08-29 16:13:24 +00:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
user Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Remove "misc" scope check from public API endpoints (#26134) (#26149) 2023-07-26 05:32:41 +00:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00