From 4f95f6578ac597c5affb0be40257d9278328fd2f Mon Sep 17 00:00:00 2001 From: varun Date: Mon, 13 Feb 2023 07:19:52 -0500 Subject: [PATCH] creating water level randomly --- src/controllers/tanksController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 82667347..2107ff18 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -116,7 +116,7 @@ exports.getTank = async (req, reply) => { }; exports.getTanklevels = async (req, reply) => { try { - const customerId = req.params.customerId; + const customerId = req.params.customerId; const tankName = req.query.tankName; setInterval(async function () {