fix: updated from 9.3.3 to 15

This commit is contained in:
2026-06-17 17:49:00 +01:00
parent 8589c83fb8
commit e9555c9f74
9 changed files with 545 additions and 445 deletions
+3 -2
View File
@@ -3,6 +3,7 @@
import { query } from '@/lib/db';
import { NextResponse } from 'next/server';
import { DriverServerRow } from '@/types/racing';
export const dynamic = 'force-dynamic';
@@ -35,9 +36,9 @@ export async function GET() {
ORDER BY s.server_id, u.user_rank ASC
`;
const rows = await query(sql);
const rows = await query<DriverServerRow>(sql);
const drivers = rows.map((row: unknown) => ({
const drivers = rows.map((row) => ({
driver_guid: row.driver_guid,
driver_name: row.driver_name,
driver_team: row.driver_team,