mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 06:24:16 +00:00
fix(ui): remove duplicate URL in tagsSpendLogsCall query string
The template literal in the tags query parameter concatenation included
`${url}` inside a `+=` assignment, causing the full URL to be doubled.
Supersedes #8793 (original fix by @Mte90, now stale).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.5
parent
c68383068a
commit
80a3e072be
@@ -2424,7 +2424,7 @@ export const tagsSpendLogsCall = async (
|
||||
|
||||
// if tags, convert the list to a comma separated string
|
||||
if (tags) {
|
||||
url += `${url}&tags=${tags.join(",")}`;
|
||||
url += `&tags=${tags.join(",")}`;
|
||||
}
|
||||
|
||||
console.log("in tagsSpendLogsCall:", url);
|
||||
|
||||
Reference in New Issue
Block a user