Fix jwt-token
This commit is contained in:
@@ -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() });
|
||||
|
||||
Reference in New Issue
Block a user