You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 More fixes 🆙
This commit is contained in:
@@ -13,4 +13,6 @@ use Illuminate\Support\Facades\Broadcast;
|
||||
|
|
||||
*/
|
||||
|
||||
Broadcast::channel('App.Models.User.{id}', fn ($user, $id) => (int) $user->id === (int) $id);
|
||||
Broadcast::channel('App.Models.User.{id}', function (\App\Models\User $user, int $id): bool {
|
||||
return $user->id === $id;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user