module -> class

This commit is contained in:
Alex Holliday committed 2025-07-30 15:14:36 -07:00
1 parent ae40cb8a54
commit 7bf96f6194
6 files changed
+110 -129

No files matched your search

+2 -1
View File
@@ -41,6 +41,7 @@ class MongoDB {
maintenanceWindowModule,
monitorModule,
networkCheckModule,
notificationModule,
}) {
this.logger = logger;
this.envSettings = envSettings;
@@ -53,7 +54,7 @@ class MongoDB {
this.checkModule = checkModule;
this.maintenanceWindowModule = maintenanceWindowModule;
this.monitorModule = monitorModule;
Object.assign(this, notificationModule);
this.notificationModule = notificationModule;
Object.assign(this, settingsModule);
this.statusPageModule = statusPageModule;
Object.assign(this, diagnosticModule);