0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-03 08:35:30 +01:00
gitea/routers/api/v1
sillyguodong 36d1d5fb78
Fix panic when call api (/repos/{owner}/{repo}/pulls/{index}/files) (#22921)
Close: #22910 

---
I'm confused about that why does the api (`GET
/repos/{owner}/{repo}/pulls/{index}/files`) require caller to pass the
parameters `limit` and `page`.
In my case, the caller only needs to pass a `skip-to` to paging. This is
consistent with the api `GET /{owner}/{repo}/pulls/{index}/files`
So, I deleted the code related to `listOptions`

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-20 22:22:34 +08:00
..
activitypub Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
admin Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
misc
notify
org Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
packages
repo Fix panic when call api (/repos/{owner}/{repo}/pulls/{index}/files) (#22921) 2023-02-20 22:22:34 +08:00
settings
swagger
user Rename repo.GetOwner to repo.LoadOwner (#22967) 2023-02-18 20:11:03 +08:00
utils
api.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
auth_windows.go
auth.go