mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) chore
This commit is contained in:
parent
03fa322b38
commit
00666566c2
1 changed files with 3 additions and 4 deletions
|
@ -921,10 +921,9 @@ class PrismaClient:
|
|||
return response
|
||||
elif table_name == "team":
|
||||
if query_type == "find_unique":
|
||||
response = None
|
||||
# response = await self.db.litellm_teamtable.find_unique(
|
||||
# where={"team_id": team_id} # type: ignore
|
||||
# )
|
||||
response = await self.db.litellm_teamtable.find_unique(
|
||||
where={"team_id": team_id} # type: ignore
|
||||
)
|
||||
elif query_type == "find_all" and user_id is not None:
|
||||
response = await self.db.litellm_teamtable.find_many(
|
||||
where={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue