remove db module

This commit is contained in:
Alex Holliday committed 2026-01-15 20:55:01 +00:00
1 parent e99b87fc1e
commit 9255500bfc
14 files changed
+415 -1417

No files matched your search

@@ -167,9 +167,8 @@ class StatusService {
const check = this.buildCheck(networkResponse);
await this.insertCheck(check);
try {
const { monitorId, status, code } = networkResponse;
const monitor = await this.monitorsRepository.findById(monitorId);
const { monitorId, teamId, status, code } = networkResponse;
const monitor = await this.monitorsRepository.findById(monitorId, teamId);
// Update running stats
this.updateRunningStats({ monitor, networkResponse });