diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index 1dcf8d28..ee67f771 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -19,7 +19,7 @@ public function boot() /* * Authenticate the user's personal channel... */ - Broadcast::channel('App.User.*', function ($user, $userId) { + Broadcast::channel('App.User.{userId}', function ($user, $userId) { return (int) $user->id === (int) $userId; }); }