This commit is contained in:
freek 2018-11-26 08:56:56 +01:00
parent f51ed94b77
commit eb82682e87
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,6 @@
namespace BeyondCode\LaravelWebSockets\Exceptions;
use Exception;
class InvalidClient extends Exception

View File

@ -18,6 +18,10 @@ class SendMessage
);
return (new PusherBroadcaster($pusher))
->broadcast([$request->channel], $request->event, json_decode($request->data, true));
->broadcast(
[$request->channel],
$request->event,
json_decode($request->data, true)
);
}
}