Upgrading Spotify's playlist URI format; Settings user objects and using formatUser + formatImages

This commit is contained in:
James Barnsley
2018-09-12 21:42:55 +12:00
parent a2531b10ef
commit 8ca97a7d50
14 changed files with 457 additions and 383 deletions

View File

@ -63,7 +63,7 @@ export default function reducer(spotify = {}, action){
});
case 'SPOTIFY_ME_LOADED':
return Object.assign({}, spotify, { me: action.data })
return Object.assign({}, spotify, { me: action.me })
case 'SPOTIFY_FEATURED_PLAYLISTS_LOADED':
return Object.assign({}, spotify, { featured_playlists: action.data })