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 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-04-06 17:35:46 -05:00
parent 78f313663e
commit f488cb66e0

View File

@ -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.