0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 23:02:46 +01:00
gitea/models/organization
Yarden Shoham 0a3c4d4a59
Fix team members API endpoint pagination (#24754)
Now it's 1-based instead of 0-based

- Fixes #24747

### Before

![image](https://github.com/go-gitea/gitea/assets/20454870/9b58ecfa-666c-4b78-bd0f-93233efeecbd)

### After

![image](https://github.com/go-gitea/gitea/assets/20454870/103b767a-e02e-4473-9f9f-5a676a61c174)

## ⚠️ BREAKING ⚠️
Previous API consumers may have relied on the 0-based pagination of this
endpoint. The page numbering now starts at 1, as documented.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-05-17 08:12:37 +08:00
..
main_test.go
mini_org.go
org_repo.go
org_test.go
org_user_test.go
org_user.go Allow repo admins too to delete the repo (#23940) 2023-04-07 11:21:02 -04:00
org.go Add owner team permission check test (#24096) 2023-04-19 19:19:13 -04:00
team_invite_test.go
team_invite.go
team_list.go
team_repo.go
team_test.go
team_unit.go
team_user.go Fix team members API endpoint pagination (#24754) 2023-05-17 08:12:37 +08:00
team.go Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00