1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for demo mode

This commit is contained in:
David Bomba 2020-10-01 21:44:17 +10:00
parent b94bfacc19
commit ade36d591c

View File

@ -331,7 +331,7 @@ class DemoMode extends Command
private function createVendor($client, $assigned_user_id = null)
{
Vendor::factory()->count(1)->create([
$vendor = Vendor::factory()->create([
'user_id' => $client->user_id,
'company_id' => $client->company_id,
]);