diff --git a/server/src/worker/worker.check-pipeline.ts b/server/src/worker/worker.check-pipeline.ts index f0958fa20..c218b8fe8 100644 --- a/server/src/worker/worker.check-pipeline.ts +++ b/server/src/worker/worker.check-pipeline.ts @@ -71,7 +71,7 @@ export class CheckPipeline implements ICheckPipeline { // **************************** // Step 2a: Create & record a check, return null if fail - const check = this.checkService.buildCheck(status); + const check = this.checkService.toCheck(status); if (!check) { this.logger.warn({ message: `No check could be built for monitor ${monitor.id}`,