fix mail
This commit is contained in:
1 parent
7834ed84b0
commit
00da270b23
1 file changed
+1
-1
@@ -55,7 +55,7 @@ class UserNotifications extends Component implements HasActions, HasSchemas, Has
|
|||||||
|
|
||||||
if ($recipient) {
|
if ($recipient) {
|
||||||
if ($data['notify_by_email']) {
|
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()
|
Notification::make()
|
||||||
->title($data['message'])
|
->title($data['message'])
|
||||||
|
|||||||
Reference in new issue
Block a user