From fb34db3ea3fdfeb1f87f55c99fb28f95336ac148 Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Mon, 29 Dec 2025 22:36:02 -0800 Subject: [PATCH] fix: use correct API query parameters (vertical_slugs, vertical_slug) --- frontend/app/[vertical]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/[vertical]/page.tsx b/frontend/app/[vertical]/page.tsx index 2270c2d..e505eef 100644 --- a/frontend/app/[vertical]/page.tsx +++ b/frontend/app/[vertical]/page.tsx @@ -18,7 +18,7 @@ export function generateStaticParams() { async function getRecentShows(verticalSlug: string) { try { - const res = await fetch(`${getApiUrl()}/shows?vertical=${verticalSlug}&limit=8&status=past`, { + const res = await fetch(`${getApiUrl()}/shows?vertical_slugs=${verticalSlug}&limit=8&status=past`, { next: { revalidate: 60 } }) if (!res.ok) return [] @@ -30,7 +30,7 @@ async function getRecentShows(verticalSlug: string) { async function getTopSongs(verticalSlug: string) { try { - const res = await fetch(`${getApiUrl()}/songs?vertical=${verticalSlug}&limit=5&sort=times_played`, { + const res = await fetch(`${getApiUrl()}/songs?vertical_slug=${verticalSlug}&limit=5&sort=times_played`, { next: { revalidate: 60 } }) if (!res.ok) return []