remove valid from settingsValidation
This commit is contained in:
parent
2ba2e2e3e6
commit
67256ea1a1
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue