master^2
Bhaskar 5 months ago
parent 44a2699459
commit 8bea84fd28

@ -2486,7 +2486,7 @@ exports.getIotDataByCustomer = async (req, reply) => {
// ✅ Prepare tank info
const tanks = connectedSlaves.map(slave => {
const slaveId = slave.hardwareId?.trim();
const slaveId = slave.tankhardwareId?.trim();
const matchedTank = latestRecord.tanks?.find(t => t.tankhardwareId === slaveId);
let loraMessage = "LORA is not connected";

Loading…
Cancel
Save