Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -27,7 +27,7 @@ app.post('/hook', function (req, res) { | ... | @@ -27,7 +27,7 @@ app.post('/hook', function (req, res) { |
27 | console.log('[request kind] ', eventObj.kind); | 27 | console.log('[request kind] ', eventObj.kind); |
28 | console.log('[request message]', eventObj.message); | 28 | console.log('[request message]', eventObj.message); |
29 | 29 | ||
30 | - trans(eventObj.replyToken, eventObj.kind, eventObj.message.text); | 30 | + trans(eventObj.replyToken, eventObj.kind.text, eventObj.message.text); |
31 | 31 | ||
32 | res.sendStatus(200); | 32 | res.sendStatus(200); |
33 | }); | 33 | }); | ... | ... |
-
Please register or login to post a comment