From a7bd6d64202e81c9ff8e2e275def85d478d8ac5d Mon Sep 17 00:00:00 2001 From: Jeremy Munsch Date: Fri, 26 Jun 2026 15:36:34 +0200 Subject: [PATCH] fixed: NotifyAdmin event listener --- app/Listeners/SendNotificationMailToAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Listeners/SendNotificationMailToAdmin.php b/app/Listeners/SendNotificationMailToAdmin.php index 5eeddab..df2e3a7 100644 --- a/app/Listeners/SendNotificationMailToAdmin.php +++ b/app/Listeners/SendNotificationMailToAdmin.php @@ -31,7 +31,7 @@ class SendNotificationMailToAdmin { if ($event instanceof NotifyAdmin) { $ticket = $event->ticket; - Mail::to($this->mailAdmin) + Mail::to($this->mailAdmin->value) ->send(new TicketUpdate($ticket, $event->corpsMaj)); } if ($event instanceof TicketCreated) {