fix locale cache
This commit is contained in:
@@ -36,7 +36,7 @@ export async function GET(request: NextRequest) {
|
||||
|
||||
let fifaData: Awaited<ReturnType<typeof fetchFifaScores>>;
|
||||
try {
|
||||
fifaData = await fetchFifaScores(locale);
|
||||
fifaData = await fetchFifaScores();
|
||||
} catch {
|
||||
return NextResponse.json({
|
||||
updatedAt: new Date().toISOString(),
|
||||
|
||||
Reference in New Issue
Block a user