changes in consumption

master^2
Varun 10 months ago
parent 2073783c05
commit 30bd1c5283

@ -1128,7 +1128,7 @@ exports.consumption = async (request, reply) => {
try { try {
const { customerId } = request.params; const { customerId } = request.params;
const { startDate, stopDate, block } = request.body; const { startDate, stopDate, block } = request.body;
let { typeofwater } = request.body; let typeofwater = request.body.typeofwater.toLowerCase();
// Convert typeofwater to lowercase // Convert typeofwater to lowercase
typeofwater = typeofwater.toLowerCase(); typeofwater = typeofwater.toLowerCase();

Loading…
Cancel
Save