Skip to content

Commit 0476b4b

Browse files
authored
Fix undefined variable in a job (#10842)
1 parent 371592f commit 0476b4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

queues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,10 +1624,10 @@ class SyncChatHistory implements ShouldQueue
16241624
*/
16251625
public function handle(): void
16261626
{
1627-
$user->authorize('sync-chat-history');
1627+
$this->user->authorize('sync-chat-history');
16281628

16291629
$response = Http::throw()->get(
1630-
"https://chat.laravel.test/?user={$user->uuid}"
1630+
"https://chat.laravel.test/?user={$this->user->uuid}"
16311631
);
16321632

16331633
// ...

0 commit comments

Comments
 (0)