forked from phoenix/litellm-mirror
fix(proxy_server.py): fix endpoint
This commit is contained in:
parent
4a0df3cb4f
commit
4174471dac
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue