This commit is contained in:
Andras Bacsai committed 2023-05-12 13:10:09 +02:00
1 parent 9404071c95
commit 0731b1fe6e
5 files changed
+53 -34

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ class Server extends BaseModel
{
return Server::where('team_id', session('currentTeam')->id)->whereRelation('settings', 'is_validated', true)->get();
}
static public function destinations(string|null $server_uuid)
static public function destinations(string|null $server_uuid = null)
{
if ($server_uuid) {
$server = Server::where('team_id', session('currentTeam')->id)->where('uuid', $server_uuid)->firstOrFail();