changes in switch count api

master
Varun 10 months ago
parent f2b1fab1b7
commit f2fc3a7327

@ -266,8 +266,8 @@ exports.getTanksensorcount = async (req, reply) => {
reply.send({ reply.send({
customerId, customerId,
needSensor: { needSensor: {
yes: needSensorResult["yes"] || 0, YES: needSensorResult["YES"] || 0,
no: needSensorResult["no"] || 0, NO: needSensorResult["NO"] || 0,
}, },
inputIsMotor: { inputIsMotor: {
true: inputIsMotorResult["true"] || 0, true: inputIsMotorResult["true"] || 0,

Loading…
Cancel
Save