mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(proxy_server.py): fix checks
This commit is contained in:
parent
d8c15a5677
commit
be6481bb36
2 changed files with 3 additions and 2 deletions
|
@ -689,7 +689,7 @@ async def user_api_key_auth(
|
|||
user_id_information.append(value)
|
||||
if user_id_information is None or (
|
||||
isinstance(user_id_information, list)
|
||||
and len(user_id_information) < 2
|
||||
and len(user_id_information) < 1
|
||||
):
|
||||
if prisma_client is not None:
|
||||
user_id_information = await prisma_client.get_data(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue