open-sauced / app

🍕 Insights into your entire open source ecosystem.
https://pizza.new
Apache License 2.0
430 stars 230 forks source link

Bug: Opensauced App breaks when user changes github username #2839

Open 1finedev opened 9 months ago

1finedev commented 9 months ago

Describe the bug

I joined opensauced by linking my github, and discovered that on my highlight screen, my avatar, username, and followership details are all undefined, see image below

Screenshot 2024-03-01 at 17 44 07

I cloned the repository and did a little investigation and i discovered it was querying data from https://beta.api.opensauced.pizza/v2/users/1finedev which 1finedev is my github username but it returns a 404

on deeper investigation i discovered the github account showed in my profile shows my previous username klin-coders which means https://beta.api.opensauced.pizza/v2/users/klin-coders returns the right data.

Screenshot 2024-03-01 at 19 07 20 Screenshot 2024-03-01 at 19 07 08

Note: I had changed my username in october 2023 long before i joined opensauced!

now visiting my public profile 1finedev shows invite when i am already registered

Steps to reproduce

  1. Create a new github account
  2. Change your github username
  3. Join opensauced

Voila

Browsers

No response

Additional context (Is this in dev or production?)

Production

Code of Conduct

Contributing Docs

github-actions[bot] commented 9 months ago

Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.

To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take". If you have any questions, please reach out to us on Discord or follow up on the issue itself.

For full info on how to contribute, please check out our contributors guide.

takanome-dev commented 8 months ago

cc @brandonroberts 👀