From 69556fb2930c092e90d591cbc43b38d4a37388db Mon Sep 17 00:00:00 2001 From: Kittapath Date: Thu, 27 Jun 2024 17:16:23 +0700 Subject: [PATCH] no message --- src/controllers/KpiUserEvaluationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index 6a4b812..e700367 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -287,7 +287,7 @@ export class KpiUserEvaluationController extends Controller { } const kpiUserEvaluation = Object.assign(new KpiUserEvaluation(), requestBody); - if (requestBody.profileId == undefined || requestBody.profileId == null) { + if (requestBody.profileId != undefined && requestBody.profileId != null) { await new CallAPI() .GetData(request, "org/profile/profileid/position/" + requestBody.profileId) .then((x) => {