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 => {