Clients to have access to broadcast and send_message as it now uses data as dict, not python params
This commit is contained in:
@ -17,7 +17,14 @@ class AuthorizationModal_Send extends React.Component{
|
||||
|
||||
handleClick(e, connection_id){
|
||||
e.preventDefault()
|
||||
this.props.pusherActions.sendAuthorization(connection_id, this.props.authorization, this.props.me )
|
||||
this.props.pusherActions.deliverMessage(
|
||||
connection_id,
|
||||
'spotify.authorizationReceived',
|
||||
{
|
||||
authorization: this.props.authorization,
|
||||
me: this.props.me
|
||||
}
|
||||
);
|
||||
this.props.uiActions.closeModal()
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user