fix(auth): drop redundant cast on team_object in centralized checks

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
jesus 2026-09-18 21:30:32 +00:00
parent 96dc32ddcf
commit 8983eefea5

View file

@ -2901,7 +2901,7 @@ async def _run_centralized_common_checks(
await _inherit_org_identity(
user_api_key_auth_obj=user_api_key_auth_obj,
team_object=cast(LiteLLM_TeamTableCachedObj | None, team_object),
team_object=team_object,
prisma_client=prisma_client,
user_api_key_cache=user_api_key_cache,
parent_otel_span=parent_otel_span,