mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 00:14:24 +00:00
fixes
This commit is contained in:
1 parent
4a20abcbfa
commit
766fa85c4c
3 files changed
+40
-34
No files matched your search
@@ -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