mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fixes
This commit is contained in:
@@ -26,10 +26,8 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
public function getRecepients($notification)
|
||||
{
|
||||
$recipients = data_get($notification,'emails',null);
|
||||
ray($recipients);
|
||||
if (is_null($recipients)) {
|
||||
$recipients = $this->members()->pluck('email')->toArray();
|
||||
ray($recipients);
|
||||
return $recipients;
|
||||
}
|
||||
return explode(',', $recipients);
|
||||
|
||||
Reference in New Issue
Block a user