diff --git a/app/Actions/User/CreateUser.php b/app/Actions/User/CreateUser.php index 5094f2cf..e7001e12 100644 --- a/app/Actions/User/CreateUser.php +++ b/app/Actions/User/CreateUser.php @@ -27,7 +27,7 @@ public static function execute(array $data, array $utmParameters = []): User 'name' => data_get($data, 'name')."'s Account", 'billing_email' => data_get($data, 'email'), 'plan_id' => Plan::where('slug', Slug::Starter)->value('id'), - 'trial_ends_at' => now()->addDays(config('cashier.trial_days', 7)), + 'trial_ends_at' => now()->addDays(config('cashier.trial_days')), ]); $user = User::create(array_merge([