1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
forgejo/routers/api/v1
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
..
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-26 13:49:15 +02:00
misc [BRANDING] Update nodeinfo branding 2023-07-17 00:25:56 +02: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-10-03 14:48:08 +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-09-08 08:09:18 +02:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
user [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
utils [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
api.go Remove "misc" scope check from public API endpoints (#26134) (#26149) 2023-07-26 13:51:46 +02: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