Skip to content

Commit 2182587

Browse files
committed
fix: service status changed event
1 parent aaee887 commit 2182587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Events/ServiceStatusChanged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct($userId = null)
2727

2828
public function broadcastOn(): ?array
2929
{
30-
if ($this->userId) {
30+
if (! is_null($this->userId)) {
3131
return [
3232
new PrivateChannel("user.{$this->userId}"),
3333
];

0 commit comments

Comments
 (0)