add $notificationId to every broadcast notification
This commit is contained in:
@@ -16,16 +16,18 @@ class VolunteerAssignedToTask implements ShouldBroadcastNow
|
||||
|
||||
public $task;
|
||||
public $event;
|
||||
public $notificationId;
|
||||
protected $userId;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user