From 08b6f134d6027673e961555491c13372a4847a95 Mon Sep 17 00:00:00 2001 From: Varun Date: Tue, 28 Jan 2025 14:55:45 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 1 + src/models/tanks.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index dae6bd1a..d31b37c1 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -395,6 +395,7 @@ exports.getTankmotordata = async (req, reply) => { }; + exports.updateTanklevels = async (req, reply) => { try { const customerId = req.params.customerId; diff --git a/src/models/tanks.js b/src/models/tanks.js index ad7c5005..d53a79cb 100644 --- a/src/models/tanks.js +++ b/src/models/tanks.js @@ -64,6 +64,7 @@ const tanksSchema = new mongoose.Schema({ notificationSentHigh: { type: Boolean }, all_motor_status: { type: Boolean }, + connections: { source: { type: String }, inputConnections: [