diff --git a/app/Console/Commands/FixMissingUserProfile.php b/app/Console/Commands/FixMissingUserProfile.php index 659ebfd1c..d3ad035ed 100644 --- a/app/Console/Commands/FixMissingUserProfile.php +++ b/app/Console/Commands/FixMissingUserProfile.php @@ -41,7 +41,7 @@ class FixMissingUserProfile extends Command $id = search( label: 'Search for the affected username', options: fn (string $value) => strlen($value) > 0 - ? User::doesntHave('profile')->whereNull('status')->whereLike('username', "%{$value}%")->pluck('name', 'id')->all() + ? User::doesntHave('profile')->whereNull('status')->whereLike('username', "%{$value}%")->pluck('username', 'id')->all() : [] );