fix: service status changed event

This commit is contained in:
Andras Bacsai committed 2024-07-12 11:27:08 +02:00
1 parent aaee887d3e
commit 21825876fb
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ class ServiceStatusChanged implements ShouldBroadcast
public function broadcastOn(): ?array
{
if ($this->userId) {
if (! is_null($this->userId)) {
return [
new PrivateChannel("user.{$this->userId}"),
];