Fixed initial Soundcloud API test

pull/153/head
alucardRD 2016-06-23 04:05:01 -05:00
parent 834f96ccbe
commit 3e867ff54a
1 changed files with 1 additions and 1 deletions

View File

@ -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