Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

chore: drop redundant fallback on config('cashier.trial_days')

Paulo Castellano0b60fba277ad
diff --git a/app/Actions/User/CreateUser.php b/app/Actions/User/CreateUser.php
index 5094f2cf8..e7001e12f 100644
--- a/app/Actions/User/CreateUser.php
+++ b/app/Actions/User/CreateUser.php
@@ -27,7 +27,7 @@ class CreateUser
'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([