From dffdf5c057329f9ef1d490b572a8fa753d0d93d2 Mon Sep 17 00:00:00 2001 From: dokisof <64385767+dokisof@users.noreply.github.com> Date: Sat, 4 Oct 2025 17:53:46 +0300 Subject: [PATCH] Fix undefined variable in a job --- queues.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" ); // ...