Changed names for joi.
This commit is contained in:
1 parent
fc09aee094
commit
20456fe121
1 file changed
+12
-2
@@ -148,7 +148,15 @@ const deleteChecksParamValidation = joi.object({
|
|||||||
//****************************************
|
//****************************************
|
||||||
// PageSpeedCheckValidation
|
// PageSpeedCheckValidation
|
||||||
//****************************************
|
//****************************************
|
||||||
const pageSpeedCheckValidation = joi.object({
|
const getPageSpeedCheckParamValidation = joi.object({
|
||||||
|
monitorId: joi.string().required(),
|
||||||
|
});
|
||||||
|
|
||||||
|
const createPageSpeedCheckParamValidation = joi.object({
|
||||||
|
monitorId: joi.string().required(),
|
||||||
|
});
|
||||||
|
|
||||||
|
const deletePageSpeedCheckParamValidation = joi.object({
|
||||||
monitorId: joi.string().required(),
|
monitorId: joi.string().required(),
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -176,5 +184,7 @@ module.exports = {
|
|||||||
getChecksParamValidation,
|
getChecksParamValidation,
|
||||||
deleteChecksParamValidation,
|
deleteChecksParamValidation,
|
||||||
deleteUserParamValidation,
|
deleteUserParamValidation,
|
||||||
pageSpeedCheckValidation,
|
getPageSpeedCheckParamValidation,
|
||||||
|
createPageSpeedCheckParamValidation,
|
||||||
|
deletePageSpeedCheckParamValidation,
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user