Checking and repairing deliver_message and sharing spotify auth

This commit is contained in:
James Barnsley
2017-04-15 03:51:40 +12:00
parent 9c531ed689
commit 14aca04f8e
2 changed files with 8 additions and 6 deletions

View File

@ -58,11 +58,13 @@ export function deliverBroadcast( data = null ){
export function sendAuthorization( recipient_connectionid, authorization, me ){
return {
type: 'PUSHER_DELIVER_MESSAGE',
to: recipient_connectionid,
message: {
type: 'spotify_authorization',
authorization: authorization,
me: me
data: {
to: recipient_connectionid,
message: {
type: 'spotify_authorization',
authorization: authorization,
me: me
}
}
}
}