diff --git a/src/Core/Notifications/NotificationMailer.php b/src/Core/Notifications/NotificationMailer.php index 867a76b3c..0c6b938c9 100644 --- a/src/Core/Notifications/NotificationMailer.php +++ b/src/Core/Notifications/NotificationMailer.php @@ -27,7 +27,7 @@ class NotificationMailer { $this->mailer->send( $blueprint->getEmailView(), - compact('notification', 'user'), + compact('blueprint', 'user'), function (Message $message) use ($blueprint, $user) { $message->to($user->email, $user->username) ->subject($blueprint->getEmailSubject());