forked from phoenix/litellm-mirror
(fix) admin ui - order spend by date
This commit is contained in:
parent
732ab69d32
commit
2355e9dc51
1 changed files with 1 additions and 1 deletions
|
@ -4520,7 +4520,7 @@ async def global_spend_logs(
|
|||
code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
)
|
||||
if api_key is None:
|
||||
sql_query = """SELECT * FROM "MonthlyGlobalSpend";"""
|
||||
sql_query = """SELECT * FROM "MonthlyGlobalSpend" ORDER BY "date";"""
|
||||
|
||||
response = await prisma_client.db.query_raw(query=sql_query)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue