diff --git a/services/soundcloud.go b/services/soundcloud.go index 174f737..0618640 100644 --- a/services/soundcloud.go +++ b/services/soundcloud.go @@ -53,7 +53,7 @@ func (sc *SoundCloud) CheckAPIKey() error { return errors.New("No SoundCloud API key has been provided") } url := "http://api.soundcloud.com/tracks/vjflzpbkmerb?client_id=%s" - response, err := http.Get(fmt.Sprintf(url, viper.GetString("api.soundcloud"))) + response, err := http.Get(fmt.Sprintf(url, viper.GetString("api_keys.soundcloud"))) defer response.Body.Close() if err != nil { return err