|
|
|
@ -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 }
|
|
|
|
|