diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 4ca5ec63..62e432d6 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -7595,10 +7595,10 @@ exports.compareMeasuredHeight = async (req, reply) => { const heightDifferenceInCm = Math.abs(actualWaterLevelInCm - measuredHeightNum); let message; - if (heightDifferenceInCm <= 10) { // Within 10 cm is considered a match - message = "Measured height is within an acceptable range of actual water level."; + if (heightDifferenceInCm <= 10) { + message = "Manual measurement is match within 10 cm of the sensor data."; } else { - message = "Measured height differs significantly from actual water level."; + message = "Manual measurement not matched within range 10cm from the sensor data."; } reply.send({