mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
refactor
This commit is contained in:
1 parent
e9bd1f88c0
commit
7e4b1a8f8f
30 files changed
+198
-95
No files matched your search
@@ -15,9 +15,9 @@ class InstanceSettings extends Model implements SendsEmail
|
||||
protected $casts = [
|
||||
'resale_license' => 'encrypted',
|
||||
];
|
||||
public function routeNotificationForEmail(string $attribute = 'test_recipients')
|
||||
public function getRecepients($notification)
|
||||
{
|
||||
$recipients = data_get($this,'smtp','');
|
||||
$recipients = data_get($notification,'emails',null);
|
||||
if (is_null($recipients) || $recipients === '') {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user