From 8defbd926d06e93da529ef71c4e874a5a9a4263e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 21 Aug 2020 16:16:56 +1000 Subject: [PATCH] Changes for demo --- app/Console/Commands/DemoMode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/DemoMode.php b/app/Console/Commands/DemoMode.php index 2547367a3a..35f5bf28ae 100644 --- a/app/Console/Commands/DemoMode.php +++ b/app/Console/Commands/DemoMode.php @@ -282,7 +282,7 @@ class DemoMode extends Command 'company_id' => $company->id ]); - factory(\App\Models\ClientContact::class, 1)->create([ + factory(\App\Models\ClientContact::class)->create([ 'user_id' => $user->id, 'client_id' => $client->id, 'company_id' => $company->id, @@ -326,7 +326,7 @@ class DemoMode extends Command ]); - factory(\App\Models\VendorContact::class, 1)->create([ + factory(\App\Models\VendorContact::class)->create([ 'user_id' => $client->user->id, 'vendor_id' => $vendor->id, 'company_id' => $client->company_id,