remove valid from settingsValidation
This commit is contained in:
parent
86f7e76180
commit
bea5d3cca8
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue