Fix jwt-token

This commit is contained in:
2025-09-07 16:26:19 +02:00
parent 5b57be01d0
commit e0dace6165

View File

@@ -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