Skip to content

fix: case mismatch in PokeWallet rarity matching#150

Merged
Pyronewbic merged 2 commits into
mainfrom
dev
May 25, 2026
Merged

fix: case mismatch in PokeWallet rarity matching#150
Pyronewbic merged 2 commits into
mainfrom
dev

Conversation

@Pyronewbic
Copy link
Copy Markdown
Owner

Summary

  • Lowercase card IDs when matching against PokeWallet rarity map (TCGdex JA uses uppercase SV9-001, PokeWallet keys are sv9-1)

Test plan

  • Unit tests pass (311/311)
  • After PokeWallet rate limit resets: POST /api/card-database/sync?force=true populates JP rarities

TCGdex JA uses uppercase set codes (SV9-001) while PokeWallet map
keys are lowercase (sv9-1). Normalize to lowercase for matching.
@Pyronewbic Pyronewbic merged commit 46ff2d4 into main May 25, 2026
10 checks passed
@Pyronewbic Pyronewbic deleted the dev branch May 25, 2026 17:20
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