master^2
Varun 7 months ago
parent 29c85b90b5
commit c9c80655e1

@ -1230,6 +1230,7 @@ exports.generateHardwareMasterId = async (req, reply) => {
exports.getSensorByHardwareId = async (req, reply) => {
try {
const { storeId } = req.params;
const { hardwareId } = req.body;

@ -1158,6 +1158,7 @@ fastify.post('/api/generateHardwareMasterId/:storeId', {
handler: storeController.generateHardwareMasterId,
});
fastify.post('/api/getSensorByHardwareId/:storeId', {
schema: {
description: 'Fetch details of a specific sensor using hardwareId',

Loading…
Cancel
Save