From d42e49fd2a90132941adb9111ecfe1320591650e Mon Sep 17 00:00:00 2001 From: hwangsihu <129564966+hwangsihu@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:08:37 +0900 Subject: [PATCH] env.ts --- src/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.ts b/src/env.ts index 6b8218d26..754ca6be3 100644 --- a/src/env.ts +++ b/src/env.ts @@ -11,7 +11,7 @@ const LavalinkNodeSchema = z.object({ host: z.string(), port: z.number(), authorization: z.string(), - secure: z.preprocess(val => (val === 'true' || val === 'false' ? val === 'true' : val), z.boolean().optional()), + secure: z.boolean().optional(), sessionId: z.string().optional(), regions: z.string().array().optional(), retryAmount: z.number().optional(),