Custom SMTP Settings (#561)
* Custom SMTP Settings * Fix lint * Custom SMTP add in Pricing plan * Allow reset email settings * improve custom SMTP using seprate abstract class * test case for custom SMTP * fix test case * UI improvement * add CASHIER_KEY in phpunit for testcase * Attempt to fix tests * Run pint and attempt to fix cache tests * Fix user management tests * Fix code linters * Merged main & fix linting --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -25,6 +25,7 @@ class Workspace extends Model implements CachableAttributes
|
||||
'icon',
|
||||
'user_id',
|
||||
'custom_domain',
|
||||
'settings'
|
||||
];
|
||||
|
||||
protected $appends = [
|
||||
@@ -33,10 +34,11 @@ class Workspace extends Model implements CachableAttributes
|
||||
'is_enterprise',
|
||||
];
|
||||
|
||||
protected function casts()
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'custom_domains' => 'array',
|
||||
'settings' => 'array'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -201,5 +203,4 @@ class Workspace extends Model implements CachableAttributes
|
||||
{
|
||||
return $this->hasMany(Form::class);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user