From 51443fd4f2fded8ae8f8889e7f07e59abe8d567b Mon Sep 17 00:00:00 2001 From: Bright Date: Fri, 29 Aug 2025 13:27:07 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20payload?= =?UTF-8?q?=20#1784?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interfaces/utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {