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

per_page to perPage to fix pagination #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Blastbrean
Copy link

@Blastbrean Blastbrean commented May 3, 2024

Cool library and thanks for making sure it doesn't break. It's very useful while creating my own software with it.

A minor issue I found was that the parameter "per_page" is an invalid parameter and will be ignored which is unintended. Instead of giving our expected items per page, we'll get the default items per page which is 30.

In order to fix this, simply make the request align with the PocketBase API list documentation and show the correct parameter name "perPage" instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant