Bhaskar 5 months ago
commit 4bd3948658

@ -1325,7 +1325,7 @@ exports.updateSensorQC = async (req, reply) => {
// Find the sensor by ID // Find the sensor by ID
const updatedSensor = await Insensors.findOneAndUpdate( const updatedSensor = await Insensors.findOneAndUpdate(
hardwareId, { hardwareId }, // correct query filter
filteredUpdateData, filteredUpdateData,
{ new: true } { new: true }
); );

Loading…
Cancel
Save