Skip to content

A free open source IT asset/license management system

allow dynamic assignment to audit notifications

Godfrey M3aa481434235
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;
/**