module -> class

This commit is contained in:
Alex Holliday committed 2025-07-30 12:25:12 -07:00
1 parent b383ce5b11
commit de742068a7
11 files changed
+580 -714

No files matched your search

@@ -158,7 +158,7 @@ class NotificationController extends BaseController {
throw this.errorService.createBadRequestError("Team ID is required");
}
const monitor = await this.db.getMonitorById(monitorId);
const monitor = await this.db.monitorModule.getMonitorById(monitorId);
if (!monitor.teamId.equals(teamId)) {
throw this.errorService.createAuthorizationError();