Fix jwt-token
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user