convert checkModule to class for dependency injection
This commit is contained in:
1 parent
9d94b71583
commit
e55d8618bd
6 files changed
+300
-369
No files matched your search
@@ -153,7 +153,7 @@ class MonitorService {
|
||||
monitors.map(async (monitor) => {
|
||||
try {
|
||||
await this.jobQueue.deleteJob(monitor);
|
||||
await this.db.deleteChecks(monitor._id);
|
||||
await this.db.checkModule.deleteChecks(monitor._id);
|
||||
await this.db.deletePageSpeedChecksByMonitorId(monitor._id);
|
||||
await this.db.deleteNotificationsByMonitorId(monitor._id);
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user