fix: updated from 9.3.3 to 15

This commit is contained in:
2026-05-19 20:22:37 +01:00
parent 27806f438f
commit 8589c83fb8
18 changed files with 45 additions and 76 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ interface LiveData {
server_track: string;
server_config: string;
connected_players: number;
cars: any[];
cars: unknown[];
}
async function getLiveData(): Promise<LiveData[]> {
@@ -32,7 +32,7 @@ async function getLiveData(): Promise<LiveData[]> {
// For each server, get connected cars with their positions
const liveData = await Promise.all(
servers.map(async (server: any) => {
servers.map(async (server: unknown) => {
const carsSql = `
SELECT
u.driver_guid,
@@ -47,7 +47,7 @@ async function getLiveData(): Promise<LiveData[]> {
const cars = await query(carsSql, [server.server_id]);
// Add mock data for positions (real data will come from telemetry stream)
const carsWithPositions = cars.map((car: any, index: number) => ({
const carsWithPositions = cars.map((car: unknown, index: number) => ({
...car,
carID: index,
position: index + 1,