|
|
@ -513,6 +513,7 @@ exports.createConnections = async (req, res) => {
|
|
|
|
const tankname = req.body.tankname;
|
|
|
|
const tankname = req.body.tankname;
|
|
|
|
const usertobeInserted = req.body;
|
|
|
|
const usertobeInserted = req.body;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Find the current tank
|
|
|
|
// Find the current tank
|
|
|
|
const tankInfo = await Tank.findOne({
|
|
|
|
const tankInfo = await Tank.findOne({
|
|
|
|
customerId: customerId.toString(),
|
|
|
|
customerId: customerId.toString(),
|
|
|
|