mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 20:14:45 +00:00
refactor(notifications): standardize getRecipients method signatures
This commit is contained in:
1 parent
5e6c112fcc
commit
e7f32a1c44
6 files changed
+43
-22
No files matched your search
@@ -13,7 +13,7 @@ class EmailChannel
|
||||
{
|
||||
try {
|
||||
$this->bootConfigs($notifiable);
|
||||
$recipients = $notifiable->getRecipients($notification);
|
||||
$recipients = $notifiable->getRecipients();
|
||||
if (count($recipients) === 0) {
|
||||
throw new Exception('No email recipients found');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user