diff --git a/database/seeders/AssetSeeder.php b/database/seeders/AssetSeeder.php index c9e61d890ef5..9d21e7f9fac9 100644 --- a/database/seeders/AssetSeeder.php +++ b/database/seeders/AssetSeeder.php @@ -82,7 +82,7 @@ private function getState() return fn($sequence) => [ 'rtd_location_id' => $this->locationIds->random(), 'supplier_id' => $this->supplierIds->random(), - 'created_by' => $this->admin->id, + 'created_by' => $this->adminuser->id, ]; } }