Expose Last.fm's ApiKey to UI

This commit is contained in:
Deluan 2021-06-21 17:09:34 -04:00 committed by Deluan Quintão
parent 143cde37e5
commit 1f997357a9
8 changed files with 30 additions and 22 deletions

View file

@ -214,8 +214,8 @@ func init() {
viper.SetDefault("agents", "lastfm,spotify")
viper.SetDefault("lastfm.enabled", true)
viper.SetDefault("lastfm.language", "en")
viper.SetDefault("lastfm.apikey", "")
viper.SetDefault("lastfm.secret", "")
viper.SetDefault("lastfm.apikey", consts.LastFMAPIKey)
viper.SetDefault("lastfm.secret", consts.LastFMAPISecret)
viper.SetDefault("spotify.id", "")
viper.SetDefault("spotify.secret", "")