@ -1619,4 +1619,5 @@ exports.writeMotorStatus = async (request, reply) => {
request.log.error(error);
return reply.code(500).send({ error: 'Internal Server Error' });
}
@ -752,6 +752,8 @@ module.exports = function (fastify, opts, next) {
},
handler: tanksController.readMotorStatus
});
next();