|
|
@ -2718,7 +2718,9 @@ exports.getPumpsAndUsers = async (req, reply) => {
|
|
|
|
|
|
|
|
|
|
|
|
// Include username at the beginning of staffNames and add "manual" at the end
|
|
|
|
// Include username at the beginning of staffNames and add "manual" at the end
|
|
|
|
const updatedStaffNames = ["All",username, ...staffNames, "manual","user"];
|
|
|
|
const updatedStaffNames = ["All",username, ...staffNames, "manual","user"];
|
|
|
|
const updatedmotorIds = ["All",motorIds];
|
|
|
|
|
|
|
|
|
|
|
|
const updatedmotorIds = ["All",...motorIds];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Prepare response
|
|
|
|
// Prepare response
|
|
|
|
const result = {
|
|
|
|
const result = {
|
|
|
|