This commit is contained in:
Andras Bacsai committed 2023-05-08 09:16:50 +02:00
1 parent 117ba360ac
commit 5ed91c05bf
16 files changed
+54 -22

No files matched your search

+5
View File
@@ -52,4 +52,9 @@ class Server extends BaseModel
{
return $this->hasOne(ServerSetting::class);
}
static public function validated()
{
return Server::where('team_id', session('currentTeam')->id)->whereRelation('settings', 'is_validated', true)->get();
}
}