fix
This commit is contained in:
parent
37edb6766f
commit
32354f4258
1 changed files with 8 additions and 3 deletions
|
|
@ -1120,11 +1120,16 @@ export class KpiUserEvaluationController extends Controller {
|
|||
}
|
||||
if (requestBody.status.trim().toUpperCase() == "NEW_EVALUATOR") {
|
||||
await new CallAPI()
|
||||
.PostData(request, "/placement/noti/profile", {
|
||||
.PostData(request, "/placement/noti/profiles", {
|
||||
subject: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ส่งข้อตกลงการประเมินผลการปฏิบัติราชการระดับบุคคลให้อนุมัติ`,
|
||||
body: `${kpiUserEvaluation.prefix}${kpiUserEvaluation.firstName} ${kpiUserEvaluation.lastName} ส่งข้อตกลงการประเมินผลการปฏิบัติราชการระดับบุคคลให้อนุมัติ`,
|
||||
receiverUserId: kpiUserEvaluation.evaluatorId,
|
||||
payload: `${process.env.USER_NOTI_URL}/KPI-evaluator/${kpiUserEvaluation.id}`,
|
||||
receiverUserIds: [
|
||||
{
|
||||
receiverUserId: kpiUserEvaluation.evaluatorId,
|
||||
notiLink: `${process.env.USER_NOTI_URL}/KPI-evaluator/${kpiUserEvaluation.id}`,
|
||||
},
|
||||
],
|
||||
payload: "",
|
||||
isSendMail: true,
|
||||
isSendInbox: true,
|
||||
isSendNotification: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue