diff --git a/server/routes/detectors.js b/server/routes/detectors.js index c030451..a2ea743 100644 --- a/server/routes/detectors.js +++ b/server/routes/detectors.js @@ -239,7 +239,8 @@ async function handleDetection(req, res) { geo_lat: detectionData.geo_lat || 0, geo_lon: detectionData.geo_lon || 0, last_heartbeat: new Date(), - is_approved: false + is_approved: false, + is_active: false }); // Emit notification for new device requiring approval