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

politeiawww: Fix legacy pagination bug. #1397

Merged
merged 2 commits into from
Apr 13, 2021
Merged

Commits on Apr 13, 2021

  1. politeiawww: Fix legacy pagination bug.

    Multiple legacy routes were previously returning 500s because the legacy
    API does not paginate properly in a lot of routes, but the politeiad v2
    API expects the requests to be paginated, causing errors to occur.
    
    This diff updates the function that is used to request proposals from
    politeiad for the legacy routes to paginate the requests properly. It
    also updates the `pictl legacytest` command that tests the legacy routes
    to specifically test the pagination issue.
    lukebp committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    a01c979 View commit details
    Browse the repository at this point in the history
  2. typo

    lukebp committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    0619a01 View commit details
    Browse the repository at this point in the history