mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
fix
This commit is contained in:
1 parent
f2063939d4
commit
9525d91d55
1 file changed
+1
-1
@@ -18,7 +18,7 @@ class DatabaseProxyStopped implements ShouldBroadcast
|
||||
public function __construct($teamId = null)
|
||||
{
|
||||
if (is_null($teamId)) {
|
||||
$teamId = Auth::user()->currentTeam()->id ?? null;
|
||||
$teamId = Auth::user()?->currentTeam()?->id ?? null;
|
||||
}
|
||||
if (is_null($teamId)) {
|
||||
throw new \Exception('Team id is null');
|
||||
|
||||
Reference in new issue
Block a user