fix: update evolution/cards endpoint to refractor/cards (#113)

Closes #113

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-23 15:31:40 -05:00
parent 8940965ff8
commit 45894c72ee

View File

@ -115,7 +115,7 @@ async def share_channel(channel, user, read_only=False):
async def get_card_embeds(card, include_stats=False) -> list: async def get_card_embeds(card, include_stats=False) -> list:
tier_badge = "" tier_badge = ""
try: try:
evo_state = await db_get(f"evolution/cards/{card['id']}") evo_state = await db_get(f"refractor/cards/{card['id']}")
if evo_state and evo_state.get("current_tier", 0) > 0: if evo_state and evo_state.get("current_tier", 0) > 0:
tier = evo_state["current_tier"] tier = evo_state["current_tier"]
badge = TIER_BADGES.get(tier) badge = TIER_BADGES.get(tier)