update channel name into users.admin
This commit is contained in:
1 parent
bed8c79c0a
commit
d2dd44af4d
1 file changed
+1
-1
+1
-1
@@ -3,7 +3,7 @@
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
|
||||
Broadcast::channel('users.registration', function ($user) {
|
||||
Broadcast::channel('users.admin', function ($user) {
|
||||
return in_array($user->role, [1, 2]);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user