From 85e3509731ea92d1277b5edccabc00c9e7f16e3e766f4174109624aaab477b31 Mon Sep 17 00:00:00 2001 From: localhorst Date: Wed, 15 Jan 2025 17:32:31 +0100 Subject: [PATCH] embarrassing --- server/src/controller/metricsController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/controller/metricsController.ts b/server/src/controller/metricsController.ts index 65d9438..74edcef 100644 --- a/server/src/controller/metricsController.ts +++ b/server/src/controller/metricsController.ts @@ -51,8 +51,8 @@ router.get("/", async (req: Request, res: Response) => { locationsTotal.set((await locationService.getAllLocations()).length); wifiLocationTotal.set((await wifiLocationService.getAllWifiLocations()).length); - wifiLocationNotResolvable.set((await wifiLocationService.getAllWifiLocationsByNotResolvable).length); - wifiLocationRequestLimitExceeded.set((await wifiLocationService.getAllWifiLocationsByRequestLimitExceeded).length); + wifiLocationNotResolvable.set((await wifiLocationService.getAllWifiLocationsByNotResolvable()).length); + wifiLocationRequestLimitExceeded.set((await wifiLocationService.getAllWifiLocationsByRequestLimitExceeded()).length); // Increment the counter with labels requestCounter.inc({ method: req.method, route: req.route.path, status: 200 });