You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
activitypub More refactoring of `db.DefaultContext` (#27083) 1 year ago
admin Reduce usage of `db.DefaultContext` (#27073) 1 year ago
misc Reduce usage of `db.DefaultContext` (#27073) 1 year ago
notify Fix bugs related to notification endpoints (#25548) 2 years ago
org Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27163) 1 year ago
packages Add missing 404 response to Swagger (#27038) 1 year ago
repo Add `RemoteAddress` to mirrors (#26952) 1 year ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger refactor(API): refactor secret creation and update functionality (#26751) 1 year ago
user Fix token endpoints ignore specified account (#27080) 1 year ago
utils New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago
api.go Fix token endpoints ignore specified account (#27080) 1 year ago