fix left join on litellm team table

This commit is contained in:
Ishaan Jaff 2024-04-02 13:36:22 -07:00
parent 1a417733d3
commit 327cf73d73

View file

@ -5069,7 +5069,7 @@ async def global_spend_per_tea():
SUM(s.spend) AS total_spend
FROM
"LiteLLM_SpendLogs" s
JOIN
LEFT JOIN
"LiteLLM_TeamTable" t ON s.team_id = t.team_id
WHERE
s."startTime" >= CURRENT_DATE - INTERVAL '30 days'