diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index cd4e828b..c8c6dbb4 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -266,8 +266,8 @@ exports.getTanksensorcount = async (req, reply) => { reply.send({ customerId, needSensor: { - yes: needSensorResult["yes"] || 0, - no: needSensorResult["no"] || 0, + YES: needSensorResult["YES"] || 0, + NO: needSensorResult["NO"] || 0, }, inputIsMotor: { true: inputIsMotorResult["true"] || 0,