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