From 64b16bb2740619bc92c04ab325bc411e737e6113 Mon Sep 17 00:00:00 2001 From: Daniel Ledda Date: Sun, 1 Nov 2020 01:14:11 +0100 Subject: [PATCH] finding a bug --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`