update validation
This commit is contained in:
1 parent
1c02c15c04
commit
efcd7d1162
1 file changed
+1
-9
@@ -424,15 +424,7 @@ const editMaintenanceByIdWindowBodyValidation = joi.object({
|
|||||||
// SettingsValidation
|
// SettingsValidation
|
||||||
//****************************************
|
//****************************************
|
||||||
const updateAppSettingsBodyValidation = joi.object({
|
const updateAppSettingsBodyValidation = joi.object({
|
||||||
apiBaseUrl: joi.string().allow(""),
|
checkTTL: joi.number().allow(""),
|
||||||
logLevel: joi.string().valid("debug", "none", "error", "warn").allow(""),
|
|
||||||
clientHost: joi.string().allow(""),
|
|
||||||
dbType: joi.string().allow(""),
|
|
||||||
dbConnectionString: joi.string().allow(""),
|
|
||||||
redisHost: joi.string().allow(""),
|
|
||||||
redisPort: joi.number().allow(null, ""),
|
|
||||||
redisUrl: joi.string().allow(""),
|
|
||||||
jwtTTL: joi.string().allow(""),
|
|
||||||
pagespeedApiKey: joi.string().allow(""),
|
pagespeedApiKey: joi.string().allow(""),
|
||||||
language: joi.string().allow(""),
|
language: joi.string().allow(""),
|
||||||
systemEmailHost: joi.string().allow(""),
|
systemEmailHost: joi.string().allow(""),
|
||||||
|
|||||||
Reference in new issue
Block a user