From 9c5bbf73ce07fa151ffc4b79cfe08b5509e1bd2f Mon Sep 17 00:00:00 2001 From: bhaskar Date: Tue, 23 May 2023 13:54:58 +0530 Subject: [PATCH] CONNECTION changes --- src/controllers/createConnectionController.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/createConnectionController.js b/src/controllers/createConnectionController.js index 2f8b21dc..0eecfa24 100644 --- a/src/controllers/createConnectionController.js +++ b/src/controllers/createConnectionController.js @@ -504,9 +504,9 @@ exports.createConnections = async (req, body) => { 'connections.inputConnections': { $each: [{ inputConnections: tankname, input_type: 'sump', inputismotor: data.outputismotor || false }], }, - 'connections.outputConnections': { - $each: [{ outputConnections: tankname, output_type: 'overhead'}], - }, + // 'connections.outputConnections': { + // $each: [{ outputConnections: tankname, output_type: 'overhead'}], + // }, }, }, { new: true }