fix: live event

This commit is contained in:
Andras Bacsai committed 2023-12-08 13:55:55 +01:00
1 parent 828fec9448
commit a249ee1b1f
6 files changed
+36 -21

No files matched your search

+1 -2
View File
@@ -29,9 +29,8 @@ class Navbar extends Component
}
public function getListeners()
{
$userId = auth()->user()->id;
return [
"echo-private:custom.{$userId},ServiceStatusChanged" => 'serviceStatusChanged',
"serviceStatusChanged"
];
}
public function serviceStatusChanged()