fix
This commit is contained in:
parent
f2063939d4
commit
9525d91d55
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue