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