noti สำเนา
This commit is contained in:
parent
d4437c8640
commit
ed134d87f7
1 changed files with 3 additions and 3 deletions
|
|
@ -1036,7 +1036,7 @@ export class CommandController extends Controller {
|
|||
.catch((error) => {
|
||||
console.error("Error calling API:", error);
|
||||
});
|
||||
let _profiles =
|
||||
let profilesSend =
|
||||
command && command.commandSends.length > 0
|
||||
? command.commandSends
|
||||
.filter((x) => x.profileId != null)
|
||||
|
|
@ -1050,10 +1050,10 @@ export class CommandController extends Controller {
|
|||
: [];
|
||||
|
||||
await new CallAPI()
|
||||
.PostData(request, "/placement/noti/profiles", {
|
||||
.PostData(request, "/placement/noti/profiles-send", {
|
||||
subject: `${command.issue}`,
|
||||
body: `${command.issue}`,
|
||||
receiverUserIds: _profiles,
|
||||
receiverUserIds: profilesSend,
|
||||
payload: "", //แนบไฟล์
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue