김대욱

제발13

Showing 1 changed file with 1 additions and 1 deletions
...@@ -26,7 +26,7 @@ app.post('/hook', function (req, res) { ...@@ -26,7 +26,7 @@ app.post('/hook', function (req, res) {
26 console.log('[request source] ', eventObj.source); 26 console.log('[request source] ', eventObj.source);
27 console.log('[request message]', eventObj.message); 27 console.log('[request message]', eventObj.message);
28 28
29 - cmd = eventObj.message.text; 29 + var cmd = eventObj.message.text;
30 30
31 if(cmd == "영어"){ 31 if(cmd == "영어"){
32 trans(eventObj.replyToken, eventObj.message.text); 32 trans(eventObj.replyToken, eventObj.message.text);
......