Commit e7ff2bfb authored by Taylor Otwell's avatar Taylor Otwell

update method

parent 37ce8b50
......@@ -16,7 +16,7 @@ class BroadcastServiceProvider extends ServiceProvider
{
Broadcast::route(['middleware' => ['web']]);
Broadcast::channel('channel-name.*', function ($user, $id) {
Broadcast::auth('channel-name.*', function ($user, $id) {
return true;
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment