From 6570ef48560a5d9208a30f1ccf058d6fbeb898a2 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 16 Oct 2024 10:56:26 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=A3=E0=B8=AD=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B8=81=E0=B8=B2=E0=B8=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/KpiUserEvaluationController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index 4cb3dc8..7598551 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -18,6 +18,7 @@ import { AppDataSource } from "../database/data-source"; import HttpSuccess from "../interfaces/http-success"; import HttpError from "../interfaces/http-error"; import HttpStatusCode from "../interfaces/http-status"; +import Extension from "../interfaces/extension"; import { KpiPeriod } from "../entities/kpiPeriod"; import { KpiUserEvaluation, @@ -1653,7 +1654,7 @@ export class KpiUserEvaluationController extends Controller { }) .then(async () => {}); }); - new CallAPI() + await new CallAPI() .PostData(request, "/placement/noti/profile", { subject: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ระดับผลการประเมินการปฏิบัติราชการระดับบุคคลของคุณอยู่ในเกณฑ์ ${kpiUserEvaluation.summaryPoint}`, body: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ระดับผลการประเมินการปฏิบัติราชการระดับบุคคลของคุณอยู่ในเกณฑ์ ${kpiUserEvaluation.summaryPoint}`, @@ -1673,7 +1674,6 @@ export class KpiUserEvaluationController extends Controller { setLogDataDiff(request, { before, after: kpiUserEvaluation }); }), ); - return new HttpSuccess(); }