|
|
@ -1594,6 +1594,7 @@ const processedSlaves = await Promise.all(slaveTanks.map(async (slave) => {
|
|
|
|
).lean();
|
|
|
|
).lean();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const matchingTankData = latestIotData?.tanks?.find(t =>
|
|
|
|
const matchingTankData = latestIotData?.tanks?.find(t =>
|
|
|
|
t.tankHardwareId === finalHardwareId || t.connected_to === finalHardwareId
|
|
|
|
t.tankHardwareId === finalHardwareId || t.connected_to === finalHardwareId
|
|
|
|
);
|
|
|
|
);
|
|
|
|