From f8bfcfed04b29d9a022d8f8cf18f27ecc9b096e5 Mon Sep 17 00:00:00 2001 From: Niek Candaele Date: Tue, 25 Jun 2024 20:11:02 +0200 Subject: [PATCH] fix: an issue with V1 option --- .../src/routes/_auth/_global/-gameservers/validationSchema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web-main/src/routes/_auth/_global/-gameservers/validationSchema.ts b/packages/web-main/src/routes/_auth/_global/-gameservers/validationSchema.ts index a5f2d84e5e..114d2b0bc6 100644 --- a/packages/web-main/src/routes/_auth/_global/-gameservers/validationSchema.ts +++ b/packages/web-main/src/routes/_auth/_global/-gameservers/validationSchema.ts @@ -37,6 +37,7 @@ export const validationSchema = baseShape.and( adminToken: z.string().min(1, { message: 'Admin token cannot be empty' }).optional(), useTls: z.boolean().optional(), useCPM: z.boolean().optional(), + useV1: z.boolean().optional(), }), }),