From 0fbf4958532231206d064ddc7014474af294fcaf Mon Sep 17 00:00:00 2001 From: Varun Date: Wed, 26 Mar 2025 13:43:43 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 5179d7df..43e0a5b5 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -6278,7 +6278,8 @@ async function processIotData(hw_Id, data) { ); } } - + await motorTank.save(); + } console.log(`✅ Data processed successfully for hw_Id: ${hw_Id}`);