From 3e867ff54ab4aac38d321fb2bfb53a7013e3e7f7 Mon Sep 17 00:00:00 2001 From: alucardRD Date: Thu, 23 Jun 2016 04:05:01 -0500 Subject: [PATCH] Fixed initial Soundcloud API test --- services/soundcloud.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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