remove valid from settingsValidation

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

View File

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