Pārlūkot izejas kodu

Update FixMissingUserProfile.php

Daniel Supernault 2 mēneši atpakaļ
vecāks
revīzija
91b15a9dfa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/Console/Commands/FixMissingUserProfile.php

+ 1 - 1
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()
                 : []
         );