From 8802c6224c772dd74e5ad00de98575ec8f658257 Mon Sep 17 00:00:00 2001 From: Jeffrey Walter Date: Thu, 10 Oct 2019 23:48:35 +0300 Subject: [PATCH] Fix a couple of issues reported by go-vet. --- types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 3335799..c885c2b 100644 --- a/types.go +++ b/types.go @@ -62,7 +62,7 @@ type Account struct { type AppStore struct { Enforce bool `json:"enforce"` LatestVersion string `json:"latestVersion"` - updateLink string `json:"updateLink"` + UpdateLink string `json:"updateLink"` } type Session struct { @@ -235,7 +235,7 @@ type BaseNightLightProperties struct { Brightness int `json:"brightness,omitempty"` Enabled bool `json:"enabled"` Mode string `json:"mode,omitempty"` - RGB NightLightRGBProperties `json:"mode,omitempty"` + RGB NightLightRGBProperties `json:"rgb,omitempty"` SleepTime int64 `json:"sleepTime,omitempty"` SleepTimeRel int `json:"sleepTimeRel,omitempty"` }