Fix jwt-token

This commit is contained in:
2025-09-07 16:25:43 +02:00
parent 9d75abc88f
commit 5b57be01d0
2 changed files with 20 additions and 0 deletions

View File

@@ -185,6 +185,8 @@ async function handleHeartbeat(req, res) {
approval_required: true
});
}
// Device exists and is approved - continue with heartbeat processing
// Update device's last heartbeat
await device.update({ last_heartbeat: new Date() });