refactor(proxy): drop redundant docstring from organization key cleanup helper

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
ryan 2026-09-17 23:46:32 +00:00
parent 884a467a7f
commit 38586e9684

View file

@ -1025,8 +1025,6 @@ async def _delete_organization_keys(
user_api_key_cache: UserApiKeyCache,
proxy_logging_obj: ProxyLogging | None,
) -> None:
"""Delete the organization's keys and drop every cache entry that still resolves to them,
including the jwt_key_mapping entries the FK cascade removes from the table but not from the cache."""
key_filter: Final[_OrganizationIdFilter] = {"organization_id": organization_id}
keys_to_delete: Final = await _table(VerificationTokenRepository(prisma_client)).find_many(where=key_filter)
hashed_tokens_to_delete: Final = tuple(key.token for key in keys_to_delete)