Album view
This commit is contained in:
@ -104,11 +104,9 @@ function refreshToken( dispatch, getState ){
|
||||
|
||||
if( getState().spotify.authorized ){
|
||||
|
||||
console.log('Refreshing token as '+getState().spotify.expires_in+' older than '+new Date().getTime())
|
||||
|
||||
$.ajax({
|
||||
method: 'GET',
|
||||
url: '//jamesbarnsley.co.nz/spotmop.php?action=refresh&refresh_token='+getState().spotify.refresh_token,
|
||||
url: '//jamesbarnsley.co.nz/auth.php?action=refresh&refresh_token='+getState().spotify.refresh_token,
|
||||
dataType: "json",
|
||||
timeout: 10000
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user