This commit is contained in:
Lance Pioch 2022-10-20 21:20:39 -04:00
parent 4d7ea155b1
commit 35d97f153e

View file

@ -206,7 +206,7 @@ class ServerCreationService
$uuid = Uuid::uuid4()->toString(); $uuid = Uuid::uuid4()->toString();
$shortUuid = substr($uuid, 0, 8); $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(); return $this->generateUniqueUuidCombo();
} }