This commit is contained in:
Andras Bacsai committed 2023-06-16 13:13:09 +02:00
1 parent 793cae1dfa
commit 0123ae97a1
8 files changed
+46 -25

No files matched your search

+4
View File
@@ -74,6 +74,10 @@ class Server extends BaseModel
{
return $this->hasOne(ServerSetting::class);
}
public function muxFilename()
{
return "{$this->ip}_{$this->port}_{$this->user}";
}
static public function ownedByCurrentTeam(array $select = ['*'])
{
$selectArray = collect($select)->concat(['id']);