fix
This commit is contained in:
parent
14f3a90d9b
commit
3b2c5f2cfd
2 changed files with 20 additions and 17 deletions
|
|
@ -1800,20 +1800,23 @@ export class EvaluationController {
|
|||
})
|
||||
.catch((x) => {});
|
||||
|
||||
|
||||
await new CallAPI()
|
||||
.PostData(request, "/placement/noti/keycloak", {
|
||||
subject: `${evaluation.fullName} แบบประเมินมีการบันทึกตรวจสอบจัดเตรียมเอกสารเล่ม 1`,
|
||||
body: `${evaluation.fullName} แบบประเมินมีการบันทึกตรวจสอบจัดเตรียมเอกสารเล่ม 1`,
|
||||
receiverUserId: "59134ef9-9e62-41d0-aac5-339be727f2b0",
|
||||
payload: "",
|
||||
isSendMail: true,
|
||||
isSendInbox: true,
|
||||
isSendNotification: true,
|
||||
await Promise.all(
|
||||
_director.map((director:any) => {
|
||||
return new CallAPI()
|
||||
.PostData(request, "/placement/noti/keycloak", {
|
||||
subject: `${evaluation.fullName} แบบประเมินมีการบันทึกตรวจสอบจัดเตรียมเอกสารเล่ม 1`,
|
||||
body: `${evaluation.fullName} แบบประเมินมีการบันทึกตรวจสอบจัดเตรียมเอกสารเล่ม 1`,
|
||||
receiverUserId: director.id,
|
||||
payload: "",
|
||||
isSendMail: true,
|
||||
isSendInbox: true,
|
||||
isSendNotification: true,
|
||||
})
|
||||
.then((x) => {})
|
||||
.catch((x) => {});
|
||||
})
|
||||
.then((x) => {})
|
||||
.catch((x) => {});
|
||||
|
||||
);
|
||||
|
||||
return new HttpSuccess();
|
||||
} catch (error: any) {
|
||||
if (error instanceof HttpError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue