gitea/routers
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
..
api Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) 2023-09-21 12:15:20 +02:00
common Extract auth middleware from service (#27028) 2023-09-12 08:15:16 +02:00
install Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
private Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix: treat tab "overview" as "repositories" in user profiles without readme (#27124) 2023-09-20 01:48:44 +00:00
init.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00