From 94f9847050244b578376d0cc57760b5408264012 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Wed, 18 Dec 2024 14:40:57 +0100 Subject: [PATCH] fix: load overrides and adoptions before creating first probes list --- src/lib/server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/server.ts b/src/lib/server.ts index 1cdd57aa..fb04ede8 100644 --- a/src/lib/server.ts +++ b/src/lib/server.ts @@ -26,10 +26,11 @@ export const createServer = async (): Promise => { await populateIpWhiteList(); // Populate cities info await populateCitiesList(); + // Populate Dashboard override data + await probeOverride.fetchDashboardData(); await initWsServer(); - await probeOverride.fetchDashboardData(); probeOverride.scheduleSync(); await auth.syncTokens();