Playlists tracks going to be a beast

This commit is contained in:
James Barnsley
2017-11-08 21:13:32 +13:00
parent 26503da1a5
commit ec41eb5271
4 changed files with 275 additions and 303 deletions

View File

@ -161,10 +161,13 @@ export function connect(){
// Not authorized? Just use a generic lookup to test our connection
} else {
sendRequest(dispatch, getState, 'method=artist.getInfo&artist=')
sendRequest(dispatch, getState, 'method=artist.getInfo&artist=Moby')
.then(
response => {
dispatch({ type: 'LASTFM_CONNECTED' })
},
error => {
dispatch({ type: 'LASTFM_DISCONNECTED' })
}
)
}