Skip to content

per_page to perPage to fix pagination#25

Open
Blastbrean wants to merge 1 commit intosreedevk:mainfrom
Blastbrean:main
Open

per_page to perPage to fix pagination#25
Blastbrean wants to merge 1 commit intosreedevk:mainfrom
Blastbrean:main

Conversation

@Blastbrean
Copy link
Copy Markdown

@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