From 0b60fba277adcc48fbf70e7aca1fac6373d8ff5f Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Thu, 14 May 2026 20:00:24 -0300 Subject: [PATCH] chore: drop redundant fallback on config('cashier.trial_days') --- app/Actions/User/CreateUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([