diff --git a/app/api/discover/genres/[slug]/route.ts b/app/api/discover/genres/[slug]/route.ts index 9d56584..f01d88a 100644 --- a/app/api/discover/genres/[slug]/route.ts +++ b/app/api/discover/genres/[slug]/route.ts @@ -61,7 +61,7 @@ export async function GET( }, }) - const songs = songGenres.map((sg) => sg.song) + const songs = songGenres.map((sg: (typeof songGenres)[number]) => sg.song) return NextResponse.json({ genre,