update channel

This commit is contained in:
Taylor Otwell 2020-08-20 15:32:30 -05:00
parent 710d472d76
commit fd8a872b3b
1 changed files with 1 additions and 1 deletions

View File

@ -13,6 +13,6 @@ use Illuminate\Support\Facades\Broadcast;
|
*/
Broadcast::channel('App.User.{id}', function ($user, $id) {
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
});