update method
This commit is contained in:
parent
37ce8b50ce
commit
e7ff2bfb4d
|
@ -16,7 +16,7 @@ public function boot()
|
||||||
{
|
{
|
||||||
Broadcast::route(['middleware' => ['web']]);
|
Broadcast::route(['middleware' => ['web']]);
|
||||||
|
|
||||||
Broadcast::channel('channel-name.*', function ($user, $id) {
|
Broadcast::auth('channel-name.*', function ($user, $id) {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue