diff --git a/queues.md b/queues.md index 4486447af0..b519ee0884 100644 --- a/queues.md +++ b/queues.md @@ -1624,10 +1624,10 @@ class SyncChatHistory implements ShouldQueue */ public function handle(): void { - $user->authorize('sync-chat-history'); + $this->user->authorize('sync-chat-history'); $response = Http::throw()->get( - "https://chat.laravel.test/?user={$user->uuid}" + "https://chat.laravel.test/?user={$this->user->uuid}" ); // ...