Add pause routes and controller, implement functionality
This commit is contained in:
1 parent
1ab423cd76
commit
17174ebe14
7 files changed
+73
-13
No files matched your search
@@ -197,6 +197,10 @@ const editMonitorBodyValidation = joi.object({
|
||||
notifications: joi.array().items(joi.object()),
|
||||
});
|
||||
|
||||
const pauseMonitorParamValidation = joi.object({
|
||||
monitorId: joi.string().required(),
|
||||
});
|
||||
|
||||
//****************************************
|
||||
// Alerts
|
||||
//****************************************
|
||||
@@ -350,6 +354,7 @@ module.exports = {
|
||||
getMonitorsByTeamIdValidation,
|
||||
getMonitorsByTeamIdQueryValidation,
|
||||
editMonitorBodyValidation,
|
||||
pauseMonitorParamValidation,
|
||||
editUserParamValidation,
|
||||
editUserBodyValidation,
|
||||
createAlertParamValidation,
|
||||
|
||||
Reference in new issue
Block a user