mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
wip
This commit is contained in:
@@ -87,7 +87,6 @@ class Server extends BaseModel
|
|||||||
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user