mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-25 02:51:57 +01:00
🐛 Fix case sensitive validation for LOGLEVEL
This commit is contained in:
parent
4ac09196c6
commit
091ca0b65f
@ -28,6 +28,7 @@ import { UpdatesModule } from './updates/updates.module';
|
|||||||
UPDATER_DISABLE_NOTIFICATIONS: Joi.boolean(),
|
UPDATER_DISABLE_NOTIFICATIONS: Joi.boolean(),
|
||||||
LOG_LEVEL: Joi.string()
|
LOG_LEVEL: Joi.string()
|
||||||
.valid('error', 'warn', 'log', 'debug', 'verbose')
|
.valid('error', 'warn', 'log', 'debug', 'verbose')
|
||||||
|
.insensitive()
|
||||||
.default('log'),
|
.default('log'),
|
||||||
PORT: Joi.number().min(1),
|
PORT: Joi.number().min(1),
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user