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) => {