mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-17 04:17:43 +00:00
fix(proxy_server.py): fix endpoint
This commit is contained in:
@@ -3079,8 +3079,7 @@ async def view_spend_logs(
|
||||
query_type="find_unique",
|
||||
key_val={"key": "request_id", "value": request_id},
|
||||
)
|
||||
response = LiteLLM_SpendLogs_ResponseObject(response=[spend_log])
|
||||
return response
|
||||
return [spend_log]
|
||||
elif user_id is not None:
|
||||
spend_log = await prisma_client.get_data(
|
||||
table_name="spend",
|
||||
|
||||
Reference in New Issue
Block a user