From dff50a78869b1531c77a67194a1e5adaa11cbd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Wed, 3 Nov 2021 14:18:33 +0100 Subject: [PATCH] Cast 'onboarding' as 'object' --- app/Models/Account.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Models/Account.php b/app/Models/Account.php index 419eb4feb590..9a95aec3b344 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -67,6 +67,10 @@ class Account extends BaseModel // 'plan_expires' ]; + protected $casts = [ + 'onboarding' => 'object' + ]; + const PLAN_FREE = 'free'; const PLAN_PRO = 'pro'; const PLAN_ENTERPRISE = 'enterprise';