From c4b3ce1a326bcecb98ff00373a5a6ce001f6b557 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Tue, 17 Jan 2017 19:06:50 +1300 Subject: [PATCH] Limiting artist albums by market --- src/js/services/spotify/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/services/spotify/actions.js b/src/js/services/spotify/actions.js index a0d50d8d..ff09cb5b 100755 --- a/src/js/services/spotify/actions.js +++ b/src/js/services/spotify/actions.js @@ -648,7 +648,7 @@ export function getArtist( uri ){ }); // now go get our artist albums - sendRequest( dispatch, getState, 'artists/'+ helpers.getFromUri('artistid', uri) +'/albums' ) + sendRequest( dispatch, getState, 'artists/'+ helpers.getFromUri('artistid', uri) +'/albums?market='+getState().spotify.country ) .then( response => { dispatch({ type: 'SPOTIFY_ARTIST_ALBUMS_LOADED',