Fix jwt-token

This commit is contained in:
2025-09-15 14:41:35 +02:00
parent aa5273841f
commit 07c25ed5e9
13 changed files with 291 additions and 253 deletions

View File

@@ -280,6 +280,23 @@ class DroneTrackingService extends EventEmitter {
return activeTracking;
}
/**
* Track a new detection (alias for processDetection)
* @param {Object} detection - The drone detection to track
* @returns {Object} - Tracking result
*/
trackDetection(detection) {
return this.processDetection(detection);
}
/**
* Clear all tracking data
*/
clear() {
this.droneHistory.clear();
this.droneProximityAlerts.clear();
}
}
module.exports = DroneTrackingService;