From 3aa481434235870664d9c14dc6208628da9610c5 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Mon, 19 May 2025 11:08:03 -0700 Subject: [PATCH] allow dynamic assignment to audit notifications --- app/Notifications/AuditNotification.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Notifications/AuditNotification.php b/app/Notifications/AuditNotification.php index 4f4638e6cd..a7056e8cbd 100644 --- a/app/Notifications/AuditNotification.php +++ b/app/Notifications/AuditNotification.php @@ -2,6 +2,7 @@ namespace App\Notifications; +use AllowDynamicProperties; use App\Models\Setting; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Channels\SlackWebhookChannel; @@ -12,7 +13,7 @@ use Illuminate\Support\Str; use NotificationChannels\MicrosoftTeams\MicrosoftTeamsChannel; use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage; -class AuditNotification extends Notification +#[AllowDynamicProperties] class AuditNotification extends Notification { use Queueable; /**