start and stop

master
varun 3 years ago
parent 2e5bc65d63
commit c8768e3db6

@ -265,9 +265,9 @@ exports.motorAction = async (req, reply) => {
if(action === "start"){
start_time = new Date().toLocaleString('en-US', {timeZone: 'Asia/Kolkata'})
supplier_tank = req.body.from
supplier_tank_type = (req.body.from_type).toLowerCase()
receiver_type = (req.body.to_type).toLowerCase()
const supplier_tank = req.body.from
const supplier_tank_type = (req.body.from_type).toLowerCase()
const receiver_type = (req.body.to_type).toLowerCase()
console.log(supplier_tank)

Loading…
Cancel
Save