|
|
@ -46,7 +46,6 @@ class SocketChannel |
|
|
|
$message = $notification->toSocket($notifiable); |
|
|
|
|
|
|
|
$message->to($notifiable->routeNotificationFor('socket', $notification)); |
|
|
|
$message->to('1'); |
|
|
|
|
|
|
|
if (! $message->to) { |
|
|
|
return; |
|
|
@ -56,7 +55,7 @@ class SocketChannel |
|
|
|
'headers' => [ |
|
|
|
'Content-Type' => 'application/json', |
|
|
|
], |
|
|
|
'data' => [$message->data], |
|
|
|
'json' => ['data' => $message->data], |
|
|
|
]); |
|
|
|
} |
|
|
|
} |