ปรับ payload #1784

This commit is contained in:
Bright 2025-08-29 13:27:07 +07:00
parent 35eec3a5f5
commit 51443fd4f2

View file

@ -579,7 +579,10 @@ export async function PayloadSendNoti(commandId: string) {
isReport: true,
isTemplate: false,
}
return JSON.stringify(_payload);
const attachments = {
attachments: [_payload]
};
return JSON.stringify(attachments);
}
export function commandTypePath(commandCode: string): string | null {