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
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>
2 years ago
..
api Fix panic when call api (/repos/{owner}/{repo}/pulls/{index}/files) (#22921) 2 years ago
common Refactor the setting to make unit test easier (#22405) 2 years ago
install Refactor the setting to make unit test easier (#22405) 2 years ago
private Refactor the setting to make unit test easier (#22405) 2 years ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Get rules by id when editing branch protection rule (#22932) 2 years ago
init.go Refactor the setting to make unit test easier (#22405) 2 years ago