|
|
|
@ -25,6 +25,7 @@ console.log(req.params);
|
|
|
|
|
blockName: req.body.blockName,
|
|
|
|
|
capacity: req.body.capacity,
|
|
|
|
|
typeOfWater: req.body.typeOfWater,
|
|
|
|
|
type: req.body.type,
|
|
|
|
|
tankLocation:req.body.tankLocation,
|
|
|
|
|
};
|
|
|
|
|
var tank_name = req.body.tankName
|
|
|
|
@ -44,6 +45,7 @@ console.log(req.params);
|
|
|
|
|
tank.blockName = usertobeInserted.blockName;
|
|
|
|
|
tank.capacity = usertobeInserted.capacity;
|
|
|
|
|
tank.typeOfWater = usertobeInserted.typeOfWater;
|
|
|
|
|
tank.typer = usertobeInserted.type;
|
|
|
|
|
tank.tankLocation = usertobeInserted.tankLocation;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|