matthew
2 years ago
3 changed files with 4 additions and 3 deletions
@ -1,6 +1,6 @@ |
|||||||
import influxdb from "services/modules/influxdb" |
import influxdb from "services/modules/influxdb" |
||||||
import { InfluxPeriod } from "services/modules/influxdb/types" |
import { InfluxPeriod } from "services/modules/influxdb/types" |
||||||
|
|
||||||
export default async function getActualSitesState(period: InfluxPeriod = InfluxPeriod.W) { |
export default async function getActualSitesState(period: InfluxPeriod = InfluxPeriod.D) { |
||||||
return await influxdb.getHistoryOfState(period) |
return await influxdb.getHistoryOfState(period) |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue