diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 44512b8c..42534c66 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -6134,7 +6134,9 @@ async function processIotData(hw_Id, data) { for (const tank of tanks) { const { Id: tankhardwareId, level: tankHeight } = tank; const existingTank = await Tank.findOne({ hardwareId: hw_Id, tankhardwareId }); - + console.log(hw_Id,"hw_Id") + console.log(tankhardwareId,"tankhardwareId") + console.log(existingTank,"existingTank") if (!existingTank) continue; const customerId = existingTank.customerId;