update longer intervals
All checks were successful
deploy / deploy (push) Successful in 30s

This commit is contained in:
Lee 2023-10-27 16:28:15 +01:00
parent e09ee235bc
commit 8d2cd9a234

@ -36,7 +36,7 @@ app.get("/analytics", async (req, res) => {
getPlayerHistoryQuery, getPlayerHistoryQuery,
false, false,
timeQuery, timeQuery,
shouldUseLongerIntervals ? "6h" : "1h" shouldUseLongerIntervals ? "1d" : "1h"
); );
console.log(query); console.log(query);
const rows = await InfluxQueryAPI.collectRows(query); const rows = await InfluxQueryAPI.collectRows(query);