From 4e122b02468791fa41b3476d9b6d2ece2f693d8e Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 31 Jan 2025 17:10:30 +0530 Subject: [PATCH] changes in consumption --- src/controllers/tanksController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 85478e29..0817c04a 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -1249,7 +1249,7 @@ const response = { totalConsumptionPercentageForDrinking: typeofwater !== "bore" ? drinkingConsumptionPercentage : 0, totalConsumptionForBore: typeofwater !== "drinking" ? totalBoreConsumptionForSelectedBlockAndTypeOfWater : 0, totalConsumptionForDrinking: typeofwater !== "bore" ? totalDrinkingConsumptionForSelectedBlockAndTypeOfWater : 0, - [`total consumption of ${typeofwater} and selected block`]: totalConsumptionForSelectedBlockAndTypeOfWater + [`total consumption of all and selected block`]: totalConsumptionForSelectedBlockAndTypeOfWater }; // Send the response