0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-06 06:09:07 +01:00
gitea/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
org Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) 2023-09-21 12:15:20 +02:00
packages
repo Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
settings
swagger
user Fix token endpoints ignore specified account (#27080) 2023-09-18 00:21:15 +00:00
utils
api.go Fix token endpoints ignore specified account (#27080) 2023-09-18 00:21:15 +00:00