DatabaseSeeder error

This commit is contained in:
Juan Felipe Zapata Moreno 2025-11-22 14:27:31 -06:00
parent c7f1b46714
commit cac2263a4f
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,7 @@
use App\Services\RepuveService; use App\Services\RepuveService;
use App\Services\PadronEstatalService; use App\Services\PadronEstatalService;
use Exception; use Exception;
use Illuminate\Support\Facades\Auth;
class UpdateController extends Controller class UpdateController extends Controller
{ {
@ -264,7 +265,7 @@ public function vehicleUpdate(VehicleUpdateRequest $request)
'cancellation_reason' => 'Otro', 'cancellation_reason' => 'Otro',
'cancellation_observations' => 'Reemplazo automático al actualizar datos del vehículo: '. $newTag->tag_number, 'cancellation_observations' => 'Reemplazo automático al actualizar datos del vehículo: '. $newTag->tag_number,
'cancellation_at' => now(), 'cancellation_at' => now(),
'cancelled_by' => auth()->id(), 'cancelled_by' => Auth::id(),
]); ]);
$currentTag->markAsCancelled(); $currentTag->markAsCancelled();

View File

@ -23,7 +23,6 @@ public function run(): void
$this->call(RoleSeeder::class); $this->call(RoleSeeder::class);
$this->call(UserSeeder::class); $this->call(UserSeeder::class);
$this->call(SettingSeeder::class); $this->call(SettingSeeder::class);
$this->call(ErrorSeeder::class);
$this->call(CatalogNameImgSeeder::class); $this->call(CatalogNameImgSeeder::class);
$this->call(MunicipalitySeeder::class); $this->call(MunicipalitySeeder::class);
$this->call(ModuleSeeder::class); $this->call(ModuleSeeder::class);