diff --git a/lib/allocation.ts b/lib/allocation.ts index 6e9f2e3..93a6e96 100644 --- a/lib/allocation.ts +++ b/lib/allocation.ts @@ -1,5 +1,5 @@ export async function fetchAllocation() { - const endpoint = `${process.env.NEXT_PUBLIC_ANALYTICS_ENDPOINT}/api/v2/strategies`; + const endpoint = `${process.env.NEXT_PUBLIC_ANALYTICS_ENDPOINT}/api/v1/strategies?structured=true`; const response = await fetch(endpoint); if (!response.ok) { throw new Error("Failed to fetch allocation");