From b4b0f57210c4696508cfd33921c4e67e4fbeca70 Mon Sep 17 00:00:00 2001 From: jimmytai Date: Thu, 21 Sep 2023 16:00:46 +0800 Subject: [PATCH] 20230921 --- line/handler/replyEventJson.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/line/handler/replyEventJson.js b/line/handler/replyEventJson.js index 39106e7..1e99d14 100644 --- a/line/handler/replyEventJson.js +++ b/line/handler/replyEventJson.js @@ -3,7 +3,7 @@ const msgJsonStringify = require('../msg/json-stringify') const eventToMsgsHandlers = [ // event 轉成 json - ctx => { ctx.msgs.push(msgJsonStringify(ctx.event)) }, + ctx => { ctx.msgs.push(msgJsonStringify({ ...ctx.req.body, events: [ctx.event] })) }, // quickreply sticker ctx => {