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

GetSelfPastesByAmount is Overdoing Requests #6

Closed
tomlin7 opened this issue Jun 10, 2021 · 1 comment
Closed

GetSelfPastesByAmount is Overdoing Requests #6

tomlin7 opened this issue Jun 10, 2021 · 1 comment

Comments

@tomlin7
Copy link
Contributor

tomlin7 commented Jun 10, 2021

Issue

Currently GetSelfPastesByAmount() is fetching all pastes under user's account (after fetching all paste IDs under user's account)


image


This can be improved by fetching only needed paste IDs, and then fetching pastes with those IDs, using GetSelfPasteIdsByAmount(). This can save the requests which are being done unnecessarily.

@tomlin7
Copy link
Contributor Author

tomlin7 commented Jun 11, 2021

fixed in #7 .

@tomlin7 tomlin7 closed this as completed Jun 11, 2021
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

No branches or pull requests

1 participant