Skip to content

London | Elhadj Abdoul Diallo| Module-Legacy-Code | WEEK1 - bug-fix #15

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

eediallo
Copy link

@eediallo eediallo commented Jun 1, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Briefly explain your PR.

To resolve the issue of infinite requests being sent to the server from the hashtag endpoint, I took the following steps:

  1. Wrote a test to confirm that multiple requests were indeed being made to the server.
  2. Normalized the incoming hashtag to ensure it matches the format of the current hashtag, if one already exists.
  3. Modified the logic to fetch the hashtag only if it doesn't already exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

1 participant