Skip to content

Commit 306dbfc

Browse files
committed
fix: remove typos in configuration struct
1 parent 8b1458d commit 306dbfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/daemon/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,13 +370,13 @@ type Config struct {
370370
KeyFile string `koanf:"key_file"`
371371
} `koanf:"server"`
372372
Credentials struct {
373-
Type string `yaml:"type"`
373+
Type string `koanf:"type"`
374374
Interactive struct {
375-
CallbackPort int `yaml:"callback_port"`
375+
CallbackPort int `koanf:"callback_port"`
376376
} `koanf:"interactive"`
377377
SpotifyToken struct {
378-
Username string `yaml:"username"`
379-
AccessToken string `yaml:"access_token"`
378+
Username string `koanf:"username"`
379+
AccessToken string `koanf:"access_token"`
380380
} `koanf:"spotify_token"`
381381
Zeroconf struct {
382382
PersistCredentials bool `koanf:"persist_credentials"`

0 commit comments

Comments
 (0)