From 00da270b236f755cf43960fdea5d1f939c5c408c Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 8 Feb 2026 08:43:31 +0100 Subject: [PATCH] fix mail --- app/Livewire/UserNotifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])