refactor: change bool() -> boolean()

This commit is contained in:
diced 2022-09-28 20:30:24 -07:00
parent 75a8bb7962
commit b460da74dd
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -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),