Added:
- activity on menu - starting activity page
This commit is contained in:
@@ -12,9 +12,9 @@ class NotificationService
|
||||
|
||||
}
|
||||
|
||||
public function sendUpdate(string $topic, mixed $data): void
|
||||
public function sendUpdate(mixed $data): void
|
||||
{
|
||||
$update = new Update($topic, json_encode($data));
|
||||
$update = new Update('notification', json_encode($data));
|
||||
$this->hub->publish($update);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user