Add validation and status messages
This commit is contained in:
1 parent
6ff1cd0b5d
commit
f155b8ceb8
2 files changed
+7
No files matched your search
@@ -199,6 +199,7 @@ const createMonitorBodyValidation = joi.object({
|
||||
description: joi.string().required(),
|
||||
type: joi.string().required(),
|
||||
url: joi.string().required(),
|
||||
port: joi.number(),
|
||||
isActive: joi.boolean(),
|
||||
interval: joi.number(),
|
||||
thresholds: joi.object().keys({
|
||||
|
||||
Reference in new issue
Block a user