Removed the validation from client.
This commit is contained in:
1 parent
bd8554707d
commit
2a045f93e0
1 file changed
+1
-4
@@ -173,8 +173,6 @@ const monitorValidation = joi.object({
|
||||
matchMethod: joi.string(),
|
||||
});
|
||||
|
||||
const bulkMonitorsValidation = joi.array().items(monitorValidation);
|
||||
|
||||
const imageValidation = joi.object({
|
||||
type: joi.string().valid("image/jpeg", "image/png").messages({
|
||||
"any.only": "Invalid file format.",
|
||||
@@ -368,6 +366,5 @@ export {
|
||||
advancedSettingsValidation,
|
||||
infrastructureMonitorValidation,
|
||||
statusPageValidation,
|
||||
logoImageValidation,
|
||||
bulkMonitorsValidation
|
||||
logoImageValidation
|
||||
};
|
||||
Reference in new issue
Block a user