diff --git a/app/Livewire/UserNotifications.php b/app/Livewire/UserNotifications.php index 16299e92..476b50f9 100644 --- a/app/Livewire/UserNotifications.php +++ b/app/Livewire/UserNotifications.php @@ -55,7 +55,7 @@ class UserNotifications extends Component implements HasActions, HasSchemas, Has if ($recipient) { if ($data['notify_by_email']) { - Mail::to($recipient)->send(new UserNotification($data['subject'], $data['message'])); + Mail::to($recipient)->send(new UserNotification('NUH-Odds sendder: '.auth()->user()->name, $data['message'])); } Notification::make() ->title($data['message'])