mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
ui - find all teams
This commit is contained in:
parent
877c4e27f4
commit
cd3b2a21c1
1 changed files with 2 additions and 0 deletions
|
@ -1190,6 +1190,8 @@ class PrismaClient:
|
||||||
response = await self.db.litellm_teamtable.find_many(
|
response = await self.db.litellm_teamtable.find_many(
|
||||||
where={"team_id": {"in": team_id_list}}
|
where={"team_id": {"in": team_id_list}}
|
||||||
)
|
)
|
||||||
|
elif query_type == "find_all" and team_id_list is None:
|
||||||
|
response = await self.db.litellm_teamtable.find_many(take=20)
|
||||||
return response
|
return response
|
||||||
elif table_name == "user_notification":
|
elif table_name == "user_notification":
|
||||||
if query_type == "find_unique":
|
if query_type == "find_unique":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue