From d4b7833a5e0a3b0e7b0333cf19c94889db368e3a Mon Sep 17 00:00:00 2001 From: agatha Date: Sun, 12 May 2024 18:57:02 -0400 Subject: [PATCH] lowercase JSON field for GKI --- model/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/types.go b/model/types.go index ba17feb..8de5505 100644 --- a/model/types.go +++ b/model/types.go @@ -31,7 +31,7 @@ type Reading struct { Time time.Time `json:"time"` Glucose float64 `json:"glucose"` Ketone float64 `json:"ketone"` - GKI float64 `json:"GKI"` + GKI float64 `json:"gki"` } // NewReading creates a new Reading instance capturing the current time, glucose level,