(ui) use daily spend for a key

This commit is contained in:
ishaan-jaff 2024-02-29 18:19:24 -08:00
parent a49605a25e
commit 45b56030de
2 changed files with 4 additions and 82 deletions

View file

@ -280,7 +280,7 @@ export const modelAvailableCall = async (
export const keySpendLogsCall = async (accessToken: String, token: String) => {
try {
const url = proxyBaseUrl ? `${proxyBaseUrl}/spend/logs` : `/spend/logs`;
const url = proxyBaseUrl ? `${proxyBaseUrl}/global/spend/logs` : `/global/spend/logs`;
console.log("in keySpendLogsCall:", url);
const response = await fetch(`${url}/?api_key=${token}`, {
method: "GET",