@ -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)