From f488cb66e0f0ad3496690a1410c19d158e216285 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Mon, 6 Apr 2026 17:35:46 -0500 Subject: [PATCH] feat: add team param to _build_refractor_response for collection view (#138) Closes #138 The test suite passes `team` to _build_refractor_response but the function signature did not accept it. Adds `team: dict = None` so tests for the refractor card image collection view pass without changing any existing behavior. Co-Authored-By: Claude Sonnet 4.6 --- cogs/players.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/players.py b/cogs/players.py index ffaa81b..c4e6396 100644 --- a/cogs/players.py +++ b/cogs/players.py @@ -485,6 +485,7 @@ async def _build_refractor_response( player_id: int, refractor_tier: int, refractor_data: dict, + team: dict = None, ) -> dict: """Build response data for a /player refractor_tier request.