modified: server.js
This commit is contained in:
parent
efc40453be
commit
12b6bbe4b9
@ -65,7 +65,7 @@ function getLatestSensorData(callback) {
|
||||
const timestamps = results.map(row => new Date(row.timestamp).toISOString().slice(0, 19).replace('T', ' '));
|
||||
callback({
|
||||
temperatures: data.temperature,
|
||||
humidity: data.humidity,
|
||||
humiditys: data.humidity,
|
||||
co2: data.co2,
|
||||
pressure: data.pressure,
|
||||
timestamps
|
||||
|
Loading…
Reference in New Issue
Block a user