fix(team_endpoints.py): update to include the budget in the response

This commit is contained in:
Krrish Dholakia 2024-08-28 21:58:41 -07:00
parent 18689c25e9
commit 2119030738

View file

@ -917,7 +917,8 @@ async def team_info(
## GET ALL MEMBERSHIPS ## ## GET ALL MEMBERSHIPS ##
team_memberships = await prisma_client.db.litellm_teammembership.find_many( team_memberships = await prisma_client.db.litellm_teammembership.find_many(
where={"team_id": team_id} where={"team_id": team_id},
include={"litellm_budget_table": True},
) )
return { return {
"team_id": team_id, "team_id": team_id,