From 8d2cd9a2346a84c247197fc08afbac080b0c4c47 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 27 Oct 2023 16:28:15 +0100 Subject: [PATCH] update longer intervals --- src/services/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api.ts b/src/services/api.ts index c147645..b61d2e5 100644 --- a/src/services/api.ts +++ b/src/services/api.ts @@ -36,7 +36,7 @@ app.get("/analytics", async (req, res) => { getPlayerHistoryQuery, false, timeQuery, - shouldUseLongerIntervals ? "6h" : "1h" + shouldUseLongerIntervals ? "1d" : "1h" ); console.log(query); const rows = await InfluxQueryAPI.collectRows(query);