fix: latest signals pass symbol without USDT suffix to signal-history API

This commit is contained in:
root 2026-02-28 13:31:14 +00:00
parent 71192d4209
commit 404cc683e0

View File

@ -118,7 +118,7 @@ function LatestSignals() {
const f = async () => {
for (const sym of COINS) {
try {
const r = await authFetch(`/api/signals/signal-history?symbol=${sym}&limit=1`);
const r = await authFetch(`/api/signals/signal-history?symbol=${sym.replace("USDT","")}&limit=1`);
if (r.ok) {
const j = await r.json();
if (j.data && j.data.length > 0) {