fix: service status changed event
This commit is contained in:
@@ -27,7 +27,7 @@ class ServiceStatusChanged implements ShouldBroadcast
|
|||||||
|
|
||||||
public function broadcastOn(): ?array
|
public function broadcastOn(): ?array
|
||||||
{
|
{
|
||||||
if ($this->userId) {
|
if (! is_null($this->userId)) {
|
||||||
return [
|
return [
|
||||||
new PrivateChannel("user.{$this->userId}"),
|
new PrivateChannel("user.{$this->userId}"),
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user