An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
refactor(events): update ProxyStatusChangedUI constructor to accept nullable teamId for improved flexibility
Andras Bacsai4dc0254e62f8
diff --git a/app/Events/ProxyStatusChangedUI.php b/app/Events/ProxyStatusChangedUI.phpindex d281972bcb..bd99a0f3c5 100644--- a/app/Events/ProxyStatusChangedUI.php+++ b/app/Events/ProxyStatusChangedUI.php@@ -14,7 +14,7 @@ class ProxyStatusChangedUI implements ShouldBroadcastpublic ?int $teamId = null;- public function __construct(int $teamId)+ public function __construct(?int $teamId = null){if (is_null($teamId) && auth()->check() && auth()->user()->currentTeam()) {$teamId = auth()->user()->currentTeam()->id;