1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/api/v1/org
Dionysios Kakouris e46274b5b4
Fix organization field being null in POST /orgs/{orgid}/teams (#27150)
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`).
2023-09-21 08:09:59 +00:00
..
action.go Add missing 404 response to Swagger (#27038) 2023-09-13 10:37:54 +08:00
avatar.go Add missing 404 response to Swagger (#27038) 2023-09-13 10:37:54 +08:00
hook.go Add missing 404 response to Swagger (#27038) 2023-09-13 10:37:54 +08:00
label.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
member.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
org.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
team.go Fix organization field being null in POST /orgs/{orgid}/teams (#27150) 2023-09-21 08:09:59 +00:00