forked from phoenix/litellm-mirror
fix(proxy_server.py): fix linting errors
This commit is contained in:
parent
844d6828c8
commit
3de766c071
1 changed files with 2 additions and 2 deletions
|
@ -5118,9 +5118,9 @@ async def block_user(data: BlockUsers):
|
|||
if prisma_client is not None:
|
||||
for id in data.user_ids:
|
||||
record = await prisma_client.db.litellm_endusertable.upsert(
|
||||
where={"user_id": id},
|
||||
where={"user_id": id}, # type: ignore
|
||||
data={
|
||||
"create": {"user_id": id, "blocked": True},
|
||||
"create": {"user_id": id, "blocked": True}, # type: ignore
|
||||
"update": {"blocked": True},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue