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

Fixed merging of empty results in requestAllUsingCursor() #34

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

Conversation

ureimers
Copy link

@ureimers ureimers commented Jun 5, 2024

This PR fixes #33.

\Lokalise\Endpoints\Endpoint::requestAllUsingCursor() was overwriting previous results if the Lokalise API returned a cursor but the next result page didn't include any results.

@anthonytournier
Copy link

Hello @lokalise-engineering, could you please approve this PR? This bug is affecting us as well, and we had to downgrade to a previous version.

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.

Cursor based pagination in v4.2 is broken (affects "keys" and "translations" endpoints)
2 participants