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