make changes in start and stop

master
varun 3 years ago
parent 1c205f7630
commit 5eb6223911

@ -269,6 +269,8 @@ exports.motorAction = async (req, reply) => {
console.log(supplier_tank)
if(supplier_tank_type==="sump" && receiver_type === "overhead"){
await Tank.findOneAndUpdate({customerId, tankName: receiver_tank,tankLocation:receiver_type}, { $set: { motor_status: "1" } });

Loading…
Cancel
Save