Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Fix outcomes being capped at 100 #21

Merged
merged 3 commits into from
Jun 14, 2022

Conversation

i404788
Copy link
Contributor

@i404788 i404788 commented Jun 14, 2022

Sorry I don't have time right now to clean it up, but this fixes the outcomes being capped at 100 due to lack of pagination. The 'proper' way to do it is to follow the Link.Next header but also setting page={it}&offset={it*limit} works so I used the quick & dirty way, and just check if Link.Next is null.

@NealGeilen NealGeilen added the bug Something isn't working label Jun 14, 2022
@Typiqally Typiqally changed the base branch from master to feat/beta-enhancements June 14, 2022 18:12
@Typiqally Typiqally linked an issue Jun 14, 2022 that may be closed by this pull request
@Typiqally
Copy link
Owner

I'm going to merge this one into beta enhancements, and also perform the necessary clean up if that's alright.

@i404788
Copy link
Contributor Author

i404788 commented Jun 14, 2022

Yeah go ahead

@Typiqally
Copy link
Owner

Thanks for your contributions :)

@Typiqally Typiqally merged commit 061f255 into Typiqally:feat/beta-enhancements Jun 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants