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

User profiles with "WCA Profile Linked" badge do not correctly link to their WCA profile #158

Open
william-herring opened this issue Oct 24, 2023 · 0 comments

Comments

@william-herring
Copy link

User profiles with "WCA Profile Linked" badge do not correctly link to the corresponding WCA profile, but rather to the WCA profile of the user signed in. To reproduce:

Instead of being taken to that user's WCA profile, you will be taken to your own WCA profile. It seems that the issue is in https://github.com/kash/cubedesk/blob/main/client/components/profile/wca/WCA.js / https://github.com/kash/cubedesk/blob/main/client/components/profile/Profile.tsx, where a query is made to get the WCA profile details of only the user logged in, instead of the user which the profile belongs to.

I hope this helps explain the issue, let me know if you need any more details. I might take a look at this issue myself when I have time.

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