Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 500 on PR files API (#21602) #21607

Merged
merged 1 commit into from
Oct 26, 2022
Merged

Fix 500 on PR files API (#21602) #21607

merged 1 commit into from
Oct 26, 2022

Commits on Oct 26, 2022

  1. 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>
    4 people committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    125434f View commit details
    Browse the repository at this point in the history