1
0
Fork 0
forgejo/routers/api
qwerty287 8430f738e2
Fix 500 on PR files API (#21602)
Fixes an 500 error/panic if using the changed PR files API with pages
that should return empty lists because there are no items anymore.
`start-end` is then < 0 which ends in panic.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: delvh <dev.lh@web.de>
2022-10-26 23:46:11 +08:00
..
packages Fix package access for admins and inactive users (#21580) 2022-10-24 22:23:25 +03:00
v1 Fix 500 on PR files API (#21602) 2022-10-26 23:46:11 +08:00