diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 3d2f0a38..c5365f45 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -4659,6 +4659,8 @@ client.on('message', async (topic, message) => { time })); + + // Save IoT data for the received tanks const iotTankData = new IotData({ hardwareId: hw_Id, // Updated variable name @@ -4993,5 +4995,5 @@ async function removeDuplicates() { } // Run the remove duplicates function -removeDuplicates(); +// removeDuplicates(); console.log("this is for testing autopush,line located in tankscontroller") \ No newline at end of file