From 1ecd1bbcad87ce29d24ebda9492d4ba0c2a8574b Mon Sep 17 00:00:00 2001 From: simone-amadio-acn Date: Fri, 7 Jun 2024 12:15:32 +0200 Subject: [PATCH] fix: remove performace check school --- controller/auditController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/controller/auditController.ts b/controller/auditController.ts index 80aca54..cbcabcc 100644 --- a/controller/auditController.ts +++ b/controller/auditController.ts @@ -178,9 +178,8 @@ const cleanSchoolJSONReport = async (jsonResult: string) => { } const performanceScore = await getPerformanceScore(parsedResult); - const improvementPlanScore = await getImprovementPlanScore(parsedResult); let performanceStatus = true; - if (performanceScore < 0.5 && improvementPlanScore < 1) { + if (performanceScore < 0.5) { performanceStatus = false; }