From f417b27e55132898ab9fd845e0faa96274cc1cf9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 21 Jul 2021 08:07:19 +1000 Subject: [PATCH] Minor fixes for first account creation --- app/Jobs/Account/CreateAccount.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Jobs/Account/CreateAccount.php b/app/Jobs/Account/CreateAccount.php index 19c1e9dfb786..a21941b238fa 100644 --- a/app/Jobs/Account/CreateAccount.php +++ b/app/Jobs/Account/CreateAccount.php @@ -79,12 +79,14 @@ class CreateAccount if(Ninja::isHosted()) { + $sp794f3f->trial_started = now(); $sp794f3f->trial_plan = 'pro'; - // $sp794f3f->plan = 'pro'; - $sp794f3f->save(); + } + $sp794f3f->save(); + $sp035a66 = CreateCompany::dispatchNow($this->request, $sp794f3f); $sp035a66->load('account'); $sp794f3f->default_company_id = $sp035a66->id;