mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +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(
|
||||
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
|
||||
elif table_name == "user_notification":
|
||||
if query_type == "find_unique":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue