rename method
This commit is contained in:
@@ -19,7 +19,7 @@ class BroadcastServiceProvider extends ServiceProvider
|
|||||||
/*
|
/*
|
||||||
* Authenticate the user's personal channel...
|
* Authenticate the user's personal channel...
|
||||||
*/
|
*/
|
||||||
Broadcast::auth('App.User.*', function ($user, $userId) {
|
Broadcast::channel('App.User.*', function ($user, $userId) {
|
||||||
return (int) $user->id === (int) $userId;
|
return (int) $user->id === (int) $userId;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user