ปรับ payload #1784
This commit is contained in:
parent
35eec3a5f5
commit
51443fd4f2
1 changed files with 4 additions and 1 deletions
|
|
@ -579,7 +579,10 @@ export async function PayloadSendNoti(commandId: string) {
|
||||||
isReport: true,
|
isReport: true,
|
||||||
isTemplate: false,
|
isTemplate: false,
|
||||||
}
|
}
|
||||||
return JSON.stringify(_payload);
|
const attachments = {
|
||||||
|
attachments: [_payload]
|
||||||
|
};
|
||||||
|
return JSON.stringify(attachments);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function commandTypePath(commandCode: string): string | null {
|
export function commandTypePath(commandCode: string): string | null {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue