fix: FINNALY FIXED AND COMPILABLE

This commit is contained in:
2026-06-24 11:37:56 +01:00
parent e9555c9f74
commit 426c1c50a0
13 changed files with 56 additions and 62 deletions
+2 -2
View File
@@ -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: unknown) => {
servers.map(async (server: any) => {
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: unknown, index: number) => ({
const carsWithPositions = cars.map((car: any, index: number) => ({
...car,
carID: index,
position: index + 1,