From 35d97f153ea9b0586107565fa8c18c8e248883ea Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Thu, 20 Oct 2022 21:20:39 -0400 Subject: [PATCH] Fix not --- app/Services/Servers/ServerCreationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Servers/ServerCreationService.php b/app/Services/Servers/ServerCreationService.php index 1380db7cc..fa421eb14 100644 --- a/app/Services/Servers/ServerCreationService.php +++ b/app/Services/Servers/ServerCreationService.php @@ -206,7 +206,7 @@ class ServerCreationService $uuid = Uuid::uuid4()->toString(); $shortUuid = substr($uuid, 0, 8); - if (!Server::query()->where('uuid', $uuid)->orWhere('uuidShort', $shortUuid)->exists()) { + if (Server::query()->where('uuid', $uuid)->orWhere('uuidShort', $shortUuid)->exists()) { return $this->generateUniqueUuidCombo(); }