Notifications for events

This commit is contained in:
James Barnsley
2016-12-14 08:29:24 +13:00
parent 2d193ca204
commit e599692c3a
6 changed files with 39 additions and 34 deletions

View File

@ -160,10 +160,6 @@ export function connect(){
* Handle authorization process
**/
export function startAuthorization(){
return { type: 'SPOTIFY_START_AUTHORIZATION' }
}
export function authorizationGranted( data ){
data.token_expiry = new Date().getTime() + data.expires_in;
return { type: 'SPOTIFY_AUTHORIZATION_GRANTED', data: data }