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

Index avatars by their own ID instead of user WCA ID #10096

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

gregorbg
Copy link
Member

@gregorbg gregorbg commented Oct 21, 2024

see title. Now that our storage mechanism doesn't depend on WCA ID anymore, we already have users uploading profile pictures which don't have an ID attached. This causes errors in the admin submission form because null WCA IDs get converted to the empty string, making the form part avatars[2012BILL01][action] = :approve look like avatars[][action] = :reject.

@gregorbg
Copy link
Member Author

Merging as hotfix

@gregorbg gregorbg merged commit d83d48a into thewca:main Oct 21, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant