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

Fix/request manager infinite swr requests #306

Merged
merged 5 commits into from
May 20, 2023
Merged

Fix/request manager infinite swr requests #306

merged 5 commits into from
May 20, 2023

Conversation

schroda
Copy link
Collaborator

@schroda schroda commented May 19, 2023

No description provided.

schroda added 3 commits May 19, 2023 14:22
Functions always returned "null" as the url, which causes SWR to not send the request

 - useGetSourceLatestMangas
 - useSourceSearch
 - useSourceQuickSearch
Is easier to use then overwriting "getEndpoint" only for specific cases
The following endpoints start at page 1
 - popular source mangas
 - latest source mangas
 - source search
 - source quick search
schroda added 2 commits May 19, 2023 22:20
No idea why I've added this in the first place
The "page" wasn't a param of the query but part of the endpoint
@schroda schroda merged commit 0cd5720 into Suwayomi:master May 20, 2023
@schroda schroda deleted the fix/request_manager_infinite_swr_requests branch May 20, 2023 11:12
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