diff --git a/server.go b/server.go index dd39e02..44efafa 100644 --- a/server.go +++ b/server.go @@ -21,7 +21,7 @@ type SnapshotRecord struct { } type SnapshotSubmission struct { - Timestamp time.Time `json:"time"` + Timestamp float32 `json:"time"` Temp float32 `json:"temp"` Humidity float32 `json:"humidity"` Co2 float32 `json:"co2"`