change in iot

master
varun 1 year ago
parent 208ea59a55
commit 83dc299980

File diff suppressed because it is too large Load Diff

@ -286,7 +286,7 @@ module.exports = function (fastify, opts, next) {
action: { type: "string" },
percentage: { type: "string",default: "100" },
startTime:{ type: "string" },
threesold_type:{type:"string"},
threshold_type:{type:"string"},
manual_threshold_percentage:{type:"string"},
manual_threshold_time:{type:"string"},
stop_at:{type:"number"},
@ -303,7 +303,7 @@ module.exports = function (fastify, opts, next) {
// fastify.auth([fastify.operatorAuthenticate]),
// validationHandler.validatePhoneFormat,
// ],
preHandler: fastify.auth([fastify.authenticate]),
//preHandler: fastify.auth([fastify.authenticate]),
handler: tanksController.motorAction,
});

Loading…
Cancel
Save