diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index b83c9ca..557b821 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -945,7 +945,7 @@ export class KpiUserEvaluationController extends Controller { throw new HttpError(HttpStatusCode.NOT_FOUND, "พบบางไอดีผู้ประเมินที่ไม่มีข้อมูล"); } - list.forEach(async (item) => { + await list.forEach(async (item) => { let role = "EVALUATOR"; if (profileId == item.commanderId) { role = "COMMANDER";