mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
fix: preserve token row query behavior
This commit is contained in:
parent
ada1bef014
commit
0d2a362db1
1 changed files with 2 additions and 2 deletions
|
|
@ -625,8 +625,8 @@ async def get_user_api_key_filter(
|
|||
api_key: str | None,
|
||||
) -> list[str]:
|
||||
"""Return the key digests that should scope a user activity query."""
|
||||
active_keys: Final[Sequence[_UserApiKeyRecord]] = await VerificationTokenRepository(prisma_client).find_by_user_id(
|
||||
user_id
|
||||
active_keys: Final[Sequence[_UserApiKeyRecord]] = await VerificationTokenRepository(prisma_client).table.find_many(
|
||||
where={"user_id": user_id},
|
||||
)
|
||||
deleted_keys: Final = await _get_deleted_keys_for_user(prisma_client, user_id)
|
||||
user_api_keys: Final = list(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue