diff --git a/backend/app/api/v1/shop.py b/backend/app/api/v1/shop.py index f9c0fc2..0f53b7b 100644 --- a/backend/app/api/v1/shop.py +++ b/backend/app/api/v1/shop.py @@ -190,8 +190,8 @@ async def use_consumable( if not data.assignment_id: raise HTTPException(status_code=400, detail=f"assignment_id is required for {data.item_code}") - # For copycat, we need bonus_assignments to properly handle playthrough - if data.item_code == "copycat": + # For copycat and wild_card, we need bonus_assignments to properly handle playthrough + if data.item_code in ("copycat", "wild_card"): result = await db.execute( select(Assignment) .options(selectinload(Assignment.bonus_assignments))