Skip to content

Commit

Permalink
fix: json tag
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Jun 8, 2024
1 parent 902cb9c commit acad6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/norway/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit acad6ef

Please sign in to comment.