Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

feat: api handle redirects (#3246) #3502

Merged
merged 2 commits into from
Jan 16, 2023

Conversation

eddiejaoude
Copy link
Member

@eddiejaoude eddiejaoude commented Jan 15, 2023

  • feat: api handle redirects

  • broken code

  • comment out tests

  • tests

  • tests

  • remove

  • directory for username

  • directory for links

  • api redirect

  • changes

  • Restore package-lock.json

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great having you contribute to this project

Welcome to the community 🤓

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

@github-actions github-actions bot added large Pull request with more than 30 changed lines tests labels Jan 15, 2023
}

if (!data.links.find((link) => link.url === url)) {
console.log(`ERROR link ${url} not found for username ${username}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also use this endpoint for socials 😅

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot 👍

(oops I hit resolved instead of comment, time for me to take a break)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed with a && condition, please can you re-review

@github-actions github-actions bot added the ✍ chore: profile This label will be added on PR with request of Data json addition label Jan 15, 2023
@eddiejaoude eddiejaoude force-pushed the krshkun/api-link-redirect-recorders branch from a75cf46 to d0c665c Compare January 15, 2023 23:59
Copy link
Contributor

@gptkrsh gptkrsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏻

@eddiejaoude eddiejaoude merged commit d06b814 into main Jan 16, 2023
@eddiejaoude eddiejaoude deleted the krshkun/api-link-redirect-recorders branch January 16, 2023 10:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✍ chore: profile This label will be added on PR with request of Data json addition large Pull request with more than 30 changed lines tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants