Fix jwt-token
This commit is contained in:
@@ -239,7 +239,8 @@ async function handleDetection(req, res) {
|
|||||||
geo_lat: detectionData.geo_lat || 0,
|
geo_lat: detectionData.geo_lat || 0,
|
||||||
geo_lon: detectionData.geo_lon || 0,
|
geo_lon: detectionData.geo_lon || 0,
|
||||||
last_heartbeat: new Date(),
|
last_heartbeat: new Date(),
|
||||||
is_approved: false
|
is_approved: false,
|
||||||
|
is_active: false
|
||||||
});
|
});
|
||||||
|
|
||||||
// Emit notification for new device requiring approval
|
// Emit notification for new device requiring approval
|
||||||
|
|||||||
Reference in New Issue
Block a user