From 8cfce561590e27e46a60cd8d00b64b9e12f159c4 Mon Sep 17 00:00:00 2001 From: Varun Date: Fri, 31 Jan 2025 17:07:34 +0530 Subject: [PATCH] changes --- src/controllers/tanksController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index f61d5e78..85478e29 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -2718,7 +2718,9 @@ exports.getPumpsAndUsers = async (req, reply) => { // Include username at the beginning of staffNames and add "manual" at the end const updatedStaffNames = ["All",username, ...staffNames, "manual","user"]; - const updatedmotorIds = ["All",motorIds]; + + const updatedmotorIds = ["All",...motorIds]; + // Prepare response const result = {