From ab0c009c0db3cabfed8401b3754aa2addfbc111c Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 20 Sep 2024 19:45:10 +0100 Subject: [PATCH] Fixed seeder Signed-off-by: snipe --- database/seeders/AssetSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/seeders/AssetSeeder.php b/database/seeders/AssetSeeder.php index c9e61d890e..9d21e7f9fa 100644 --- a/database/seeders/AssetSeeder.php +++ b/database/seeders/AssetSeeder.php @@ -82,7 +82,7 @@ class AssetSeeder extends Seeder return fn($sequence) => [ 'rtd_location_id' => $this->locationIds->random(), 'supplier_id' => $this->supplierIds->random(), - 'created_by' => $this->admin->id, + 'created_by' => $this->adminuser->id, ]; } }