From acad6ef03203c83bf5a1887eaad19d863cad0080 Mon Sep 17 00:00:00 2001 From: doomsower <12031673+doomsower@users.noreply.github.com> Date: Sat, 8 Jun 2024 18:49:41 +0000 Subject: [PATCH] fix: json tag --- scripts/norway/script.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/norway/script.go b/scripts/norway/script.go index 727b570..0535d53 100644 --- a/scripts/norway/script.go +++ b/scripts/norway/script.go @@ -12,7 +12,7 @@ import ( type optionsNorway struct { ApiKey string `desc:"API Key, default to env variable NVE_API_KEY" json:"version"` - BatchSize int `desc:"Batch size for requesting multiple stations at once" json:"version"` + BatchSize int `desc:"Batch size for requesting multiple stations at once" json:"batchSize"` IgnoreLegacy bool `desc:"Do not support station ids from previous version of this script" json:"ignoreLegacy"` }