withBroadcasting
method has missing parameter
#50698
Unanswered
MohammedElattar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel Version
11.0.5
PHP Version
8.2.14
Database Driver & Version
1123
Description
I'm using Sanctum and i'm trying to override
auth middleware
inwithBroadcasting
method->withRouting( web: __DIR__ . '/../routes/web.php', api: __DIR__ . '/../routes/api.php', commands: __DIR__ . '/../routes/console.php', // channels: __DIR__ . '/../routes/channels.php', health: '/up', ) ->withBroadcasting( __DIR__.'/../routes/channels.php', ['prefix' => 'api', 'middleware' => ['auth:sanctum']], )
Steps To Reproduce
private repository
Beta Was this translation helpful? Give feedback.
All reactions