|
|
|
@ -180,7 +180,7 @@ exports.updateTanklevels = async (req, reply) => {
|
|
|
|
exports.getTanklevels = async (req, reply) => {
|
|
|
|
exports.getTanklevels = async (req, reply) => {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const customerId = req.params.customerId;
|
|
|
|
const customerId = req.params.customerId;
|
|
|
|
await tanksController.updateTanklevels(req)
|
|
|
|
// await tanksController.updateTanklevels(req)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const updated_data = await Tank.find({ customerId: customerId });
|
|
|
|
const updated_data = await Tank.find({ customerId: customerId });
|
|
|
|
|