Skip to content

Commit e3ffe79

Browse files
authored
Merge pull request #16962 from Godmartinz/audit_notifications_fix
Added dynamic properties to audit notifications
2 parents eb8ef37 + 3aa4814 commit e3ffe79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Notifications/AuditNotification.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace App\Notifications;
44

5+
use AllowDynamicProperties;
56
use App\Models\Setting;
67
use Illuminate\Bus\Queueable;
78
use Illuminate\Notifications\Channels\SlackWebhookChannel;
@@ -12,7 +13,7 @@
1213
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsChannel;
1314
use NotificationChannels\MicrosoftTeams\MicrosoftTeamsMessage;
1415

15-
class AuditNotification extends Notification
16+
#[AllowDynamicProperties] class AuditNotification extends Notification
1617
{
1718
use Queueable;
1819
/**

0 commit comments

Comments
 (0)