Remove empty notification validation
This commit is contained in:
1 parent
86ab22df03
commit
3980236580
1 file changed
+1
-1
@@ -234,7 +234,7 @@ const editMonitorBodyValidation = joi.object({
|
||||
name: joi.string(),
|
||||
description: joi.string(),
|
||||
interval: joi.number(),
|
||||
notifications: joi.array().items(joi.object()).min(1),
|
||||
notifications: joi.array().items(joi.object()),
|
||||
});
|
||||
|
||||
const pauseMonitorParamValidation = joi.object({
|
||||
|
||||
Reference in new issue
Block a user