Skip to content

fix: fallback to default theme when invalid theme is provided#4642

Closed
iemafzalhassan wants to merge 1 commit intoanuraghazra:masterfrom
iemafzalhassan:fix/invalid-theme-fallback
Closed

fix: fallback to default theme when invalid theme is provided#4642
iemafzalhassan wants to merge 1 commit intoanuraghazra:masterfrom
iemafzalhassan:fix/invalid-theme-fallback

Conversation

@iemafzalhassan
Copy link

  • Fix 500 error when invalid theme name is passed in query params
  • Add proper null/undefined checks for theme validation
  • Add tests to verify invalid theme fallback behavior
  • Fix floating point precision issue in calculateRank test

Fixes #4641

- Fix 500 error when invalid theme name is passed in query params
- Add proper null/undefined checks for theme validation
- Add tests to verify invalid theme fallback behavior
- Fix floating point precision issue in calculateRank test

Fixes #4641
@vercel
Copy link

vercel bot commented Nov 6, 2025

@iemafzalhassan is attempting to deploy a commit to the github readme stats Team on Vercel.

A member of the Team first needs to authorize it.

@iemafzalhassan iemafzalhassan closed this by deleting the head repository Jan 24, 2026
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.

bug: passing a wrong theme now causes 500 Internal Error

1 participant