diff --git a/app/Models/EmailRequest.php b/app/Models/EmailRequest.php index 66ea8970..a2ecfd62 100644 --- a/app/Models/EmailRequest.php +++ b/app/Models/EmailRequest.php @@ -13,6 +13,9 @@ class EmailRequest extends Model protected $table = 'email_requests'; protected $keyType = 'uuid'; public $incrementing = false; + protected $casts = [ + 'variables' => 'array', + ]; protected $fillable = [ "template_id", "subject",