change in read motor status

master
varun 2 years ago
parent 5ad517d682
commit 5392fa0162

@ -1481,7 +1481,7 @@ exports.motorstatus = async (req, reply) => {
exports.readMotorStatus = async (req, reply) => {
try {
const motor_id = req.body.motor_id;
const motor_id = req.query.motor_id;
console.log(motor_id)
// Perform any necessary logic based on action (1: Start, 2: Stop)

Loading…
Cancel
Save