From aba4cc9330c52f8df10c075f140b79cddf0e7315 Mon Sep 17 00:00:00 2001 From: Varun Date: Tue, 11 Mar 2025 17:05:37 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 3b9406c5..86d59e51 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -3061,7 +3061,7 @@ exports.motorAction = async (req, reply) => { receiverInitialwaterlevel: parseInt(receiverTank.waterlevel, 10) }); await newMotorData.save(); - + console.log("entered time",motorId,motorStopStatus) // Update the tank connections with start time and threshold time for await (const tank of Tank.find({ "connections.inputConnections.motor_id": motorId })) { this.publishMotorStopStatus(motorId, motorStopStatus);