mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 06:56:15 +00:00
fix notifications (#109)
This commit is contained in:
@ -51,8 +51,7 @@ public function send(object $notifiable, Notification $notification): void
|
||||
{
|
||||
/** @var NotificationChannel $notifiable */
|
||||
$this->notificationChannel = $notifiable;
|
||||
$message = $notification->toMail($notifiable);
|
||||
|
||||
$message = $notification->toEmail($notifiable);
|
||||
Mail::to($this->data()['email'])->send(
|
||||
new NotificationMail($message->subject, $message->render())
|
||||
);
|
||||
|
Reference in New Issue
Block a user