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: [