Spotify.access will be checker for full access

This commit is contained in:
James Barnsley
2017-08-04 22:33:49 +12:00
parent c2b8cfb346
commit e1ee57bdad
15 changed files with 100 additions and 92 deletions

View File

@ -201,7 +201,7 @@ const CoreMiddleware = (function(){
break
case 'spotify':
if (store.getState().spotify.authorized && store.getState().spotify.me){
if (store.getState().spotify.authorization && store.getState().spotify.me){
playlist.can_edit = (helpers.getFromUri('playlistowner',playlist.uri) == store.getState().spotify.me.id)
}
}
@ -225,7 +225,7 @@ const CoreMiddleware = (function(){
break
case 'spotify':
if (store.getState().spotify.authorized && store.getState().spotify.me){
if (store.getState().spotify.authorization && store.getState().spotify.me){
playlist.can_edit = (helpers.getFromUri('playlistowner',playlist.uri) == store.getState().spotify.me.id)
}
}