ashok 4 months ago
commit 0307a4fe89

@ -7481,7 +7481,10 @@ exports.particularCategory = async (req, reply) => {
const disconnectedIssues = [];
for (const master of allRelatedSensors.filter(i => i.type === "master")) {
// for (const master of allRelatedSensors.filter(i => i.type === "master")) {
const allMasters = allRelatedSensors.filter(i => i.type === "master");
for (const master of allMasters) {
const slaves = await Insensors.find({
connected_to: master.hardwareId,
customerId

Loading…
Cancel
Save