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 {