Fix jwt-token

This commit is contained in:
2025-08-17 05:27:32 +02:00
parent ce87df0eb5
commit 0f6ea2b840
2 changed files with 7 additions and 9 deletions

View File

@@ -555,10 +555,5 @@ class AlertService {
}
}
// Export singleton instance
const alertService = new AlertService();
module.exports = {
processAlert: (detection) => alertService.processAlert(detection),
AlertService
};
// Export the class directly (not a singleton instance)
module.exports = AlertService;