mirror of
https://github.com/RomySaputraSihananda/ares.git
synced 2026-08-13 02:38:06 +00:00
fix(web/trades): use 2026-06-01 as deals date_from to avoid bridge response limit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
3cec0feefb
commit
36037d7b2b
@@ -6,7 +6,7 @@ export const dynamic = "force-dynamic";
|
||||
|
||||
export async function GET(req: NextRequest) {
|
||||
const { searchParams } = req.nextUrl;
|
||||
const dateFrom = searchParams.get("date_from") ?? "2025-01-01T00:00:00";
|
||||
const dateFrom = searchParams.get("date_from") ?? "2026-06-01T00:00:00";
|
||||
const dateTo = searchParams.get("date_to") ?? new Date().toISOString().slice(0, 19);
|
||||
const symbol = searchParams.get("symbol") ?? undefined;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user