From b460da74dd65f9167b6dc7a7b918d3b8d79952d2 Mon Sep 17 00:00:00 2001 From: diced Date: Wed, 28 Sep 2022 20:30:24 -0700 Subject: [PATCH] refactor: change bool() -> boolean() --- src/lib/config/validateConfig.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/config/validateConfig.ts b/src/lib/config/validateConfig.ts index 1f6894f..db1b901 100644 --- a/src/lib/config/validateConfig.ts +++ b/src/lib/config/validateConfig.ts @@ -1,5 +1,5 @@ import { Config } from 'lib/config/Config'; -import { object, bool, string, number, boolean, array } from 'yup'; +import { object, string, number, boolean, array } from 'yup'; const discord_content = object({ content: string().nullable(), @@ -16,7 +16,7 @@ const discord_content = object({ const validator = object({ core: object({ - https: bool().default(false), + https: boolean().default(false), secret: string().min(8).required(), host: string().default('0.0.0.0'), port: number().default(3000),