This commit is contained in:
Andras Bacsai 2023-06-22 14:20:33 +02:00
parent 448fa200a4
commit ad04bdc99c

View File

@ -87,7 +87,6 @@ public function muxFilename()
static public function ownedByCurrentTeam(array $select = ['*']) static public function ownedByCurrentTeam(array $select = ['*'])
{ {
$selectArray = collect($select)->concat(['id']); $selectArray = collect($select)->concat(['id']);
ray(Server::whereTeamId(session('currentTeam')->id)->with('settings')->select($selectArray->all())->get());
return Server::whereTeamId(session('currentTeam')->id)->with('settings')->select($selectArray->all()); return Server::whereTeamId(session('currentTeam')->id)->with('settings')->select($selectArray->all());
} }