김대욱

수정

...@@ -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 });
......