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 = {