Limiting artist albums by market

This commit is contained in:
James Barnsley
2017-01-17 19:06:50 +13:00
parent c8ea68575f
commit c4b3ce1a32

View File

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