From 9880bf912f3ea965e3dcc1caf2e478703e5a929e Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 12 Nov 2024 17:19:07 +0700 Subject: [PATCH] no message --- src/controllers/ProfileController.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 09d81ccf..38634422 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -7897,15 +7897,16 @@ export class ProfileController extends Controller { }, }, }); - profileNoti.map((x) => ({ + let _profileNoti = profileNoti.map((x) => ({ receiverUserId: x.id, notiLink: "", })); + console.log(profileNoti); await new CallAPI() .PostData(req, "/placement/noti/profiles", { subject: body.subject, body: body.body, - receiverUserIds: profileNoti, + receiverUserIds: _profileNoti, payload: "", //แนบไฟล์ isSendMail: true, isSendInbox: true,