From 38b67ebc38cef980631a465533b9af3684b47830 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Mon, 21 Apr 2025 11:13:05 +0700 Subject: [PATCH] fix delete --- src/controllers/EvaluationController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/EvaluationController.ts b/src/controllers/EvaluationController.ts index 56903db..27bcd20 100644 --- a/src/controllers/EvaluationController.ts +++ b/src/controllers/EvaluationController.ts @@ -2923,7 +2923,8 @@ export class EvaluationController { await this.salaryRepository.delete({ evaluationId: id }); await this.trainingRepository.delete({ evaluationId: id }); await this.assessmentRepository.delete({ evaluationId: id }); - await this.evaluationLogsRepository.delete({ evaluationId: id }); + await this.portfolioRepository.delete({ evaluationId: id }); + await this.performanceRepository.delete({ evaluationId: id }); await this.evaluationLogsRepository.delete({ evaluationId: id }); await Promise.all( evaluation.meetings.map((meeting) =>