diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 86668e38..b473366d 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -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 {