fix: service status changed event
This commit is contained in:
parent
aaee887d3e
commit
21825876fb
@ -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}"),
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user