diff --git a/src/controllers/KpiUserEvaluationController.ts b/src/controllers/KpiUserEvaluationController.ts index 7a3d8eb..79523a5 100644 --- a/src/controllers/KpiUserEvaluationController.ts +++ b/src/controllers/KpiUserEvaluationController.ts @@ -1654,18 +1654,18 @@ export class KpiUserEvaluationController extends Controller { }) .then(async () => {}); }); - 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}`, - receiverUserId: kpiUserEvaluation.profileId, - payload: "", - isSendMail: true, - isSendInbox: true, - isSendNotification: true, - }) - .then(async () => {}) - .catch(() => {}); + // 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}`, + // receiverUserId: kpiUserEvaluation.profileId, + // payload: "", + // isSendMail: true, + // isSendInbox: true, + // isSendNotification: true, + // }) + // .then(async () => {}) + // .catch(() => {}); const before = null; kpiUserEvaluation.lastUpdateUserId = request.user.sub; kpiUserEvaluation.lastUpdateFullName = request.user.name;