add $notificationId to every broadcast notification

This commit is contained in:
Giovanni committed 2026-03-19 18:09:11 +01:00
1 parent ec76ca981a
commit 9fbc09017b
10 files changed
+33 -10

No files matched your search

+3 -1
View File
@@ -17,15 +17,17 @@ class VolunteerUnassignedFromTask implements ShouldBroadcastNow
public $userId;
public $task;
public $event;
public $notificationId;
/**
* Create a new event instance.
*/
public function __construct($userId, Task $task, Event $event)
public function __construct($userId, Task $task, Event $event, $notificationId)
{
$this->userId = $userId;
$this->task = $task;
$this->event = $event;
$this->notificationId = $notificationId;
}
/**