MQTT Status based on Last Packet Received
This commit is contained in:
parent
7b8c9f82e5
commit
485621ffa4
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ client.on("message", async (topic, message) => {
|
|||
}
|
||||
|
||||
// Update Node MQTT status based on Last Packet Received time
|
||||
const ret = await prisma.node.updateMany({
|
||||
await prisma.node.updateMany({
|
||||
where: {
|
||||
node_id: convertHexIdToNumericId(envelope.gatewayId),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue