remove valid from settingsValidation

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-12 16:43:58 +02:00
parent 86f7e76180
commit bea5d3cca8
1 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@ function smtpValidation() {
function settingValidation() { function settingValidation() {
// prettier-ignore // prettier-ignore
return Joi.object({ return Joi.object({
platformUrl: Joi.string().valid("", null), platformUrl: Joi.string(),
logoUrl: Joi.string().valid("", null), logoUrl: Joi.string(),
docsUrl: Joi.string().valid("", null), docsUrl: Joi.string(),
company: Joi.string().required(), company: Joi.string().required(),
}).unknown(true) }).unknown(true)
} }