-
Notifications
You must be signed in to change notification settings - Fork 212
[$50] Challenge prizes are showing wrong #5193
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
Comments
@ThomasKranitsas , prizes seem good now |
It seems random. I've refreshed a couple times, and it goes back and forth. Not sure why. |
This should be fixed regardless. The |
@ThomasKranitsas Yep, agree. I'll as frontend getting the prize. |
I added prize amount. @luizrrodrigues you can decide how you want to get it fixed challenge or or tcx or you can do it yourself. |
Contest https://www.topcoder.com/challenges/30152317 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30152317 has been updated - it has been assigned to luizrrodrigues. |
@SathyaJayabal Deployed in Stag env |
note: @luizrrodrigues , i was not able to reproduce the issue on production too, even after refreshing the challenge details links for many times. |
This ticket was not processed for payment. If you would like to process it for payment, please reopen it, add the |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30152317 |
Describe the bug
The community app is reading the prizes wrongly from the v5 API response. It's reading the first entry in the
prizeSets
array when it should find the one where thetype
is equal toplacement
Expected behavior
The community app should find the correct prize set based on the
type
property.Screenshots

In the above screenshot, it's showing the copilot payment instead of the prizes as the copilot prize set appears first in the array.
See the following two API responses for comparison:

The text was updated successfully, but these errors were encountered: