(fix) chore

This commit is contained in:
ishaan-jaff 2024-03-05 18:54:04 -08:00
parent 563f4e6a16
commit 5d76081d89

View file

@ -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={