From f505180237da235da31d82f1fb91368f99d2ebc1 Mon Sep 17 00:00:00 2001 From: Amirmahdi Nourkazemi Date: Thu, 20 Aug 2026 18:19:37 +0330 Subject: [PATCH] fix --- app/Console/Commands/SyncSurveyUsers.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncSurveyUsers.php b/app/Console/Commands/SyncSurveyUsers.php index 3f82fce..f6bf967 100644 --- a/app/Console/Commands/SyncSurveyUsers.php +++ b/app/Console/Commands/SyncSurveyUsers.php @@ -48,7 +48,8 @@ public function handle() 'birthday' => $data['birthday'] ?? $user->birthday, 'identifier' => $data['uuid'] ?? $user->identifier, ]); - $this->line(" synced: {$user->mobile} → {$data['first_name'] ?? 'null'}"); + $name = $data['first_name'] ?? 'null'; + $this->line(" synced: {$user->mobile} → {$name}"); $synced++; } } else {