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

Update fetch.js to limit medium post #685

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AtitBimali
Copy link

Description

This PR proposes a modification to limit the number of posts fetched from Medium. By default, Medium's API fetches up to 10 posts, which might still be excessive for individual preferences. To address this, the proposed change limits the fetched posts to 4.

Type of change

  • New feature (non-breaking change which adds functionality)

AtitBimali and others added 2 commits February 3, 2024 19:34
By default, Medium's API fetches up to 10 posts, which might still be excessive for individual preferences.

This adjustment allows users to tailor their post-fetching experience to their needs. Feel free to modify the MAX_ITEMS_TO_FETCH constant according to your specific requirements.
Copy link

vercel bot commented Feb 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
developer-folio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 3, 2024 1:53pm

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.

None yet

1 participant