Fix Pusher namespace problem

This commit is contained in:
Phan An 2018-09-16 14:23:39 +02:00
parent 52a010ce34
commit 3bb18ab9d2

View file

@ -12,7 +12,7 @@ Route::group(['namespace' => 'API'], function () {
});
Route::post('broadcasting/auth', function (Request $request) {
$pusher = new Pusher(
$pusher = new Pusher\Pusher(
config('broadcasting.connections.pusher.key'),
config('broadcasting.connections.pusher.secret'),
config('broadcasting.connections.pusher.app_id'),