은승우

Update app.js

Showing 1 changed file with 1 additions and 4 deletions
......@@ -82,7 +82,7 @@ function handleEvent(event) {
}
else if (event.type == 'message'&& event.message.type == 'image') {
return new Promise((resolve,reject)=>{
client.replyMessage(event.replyToken,event.message).then(resolve).catch(reject);
client.replyMessage(event.replyToken,event.message.originalContentUrl).then(resolve).catch(reject);
/*console.log("!");
var cheerio = require('cheerio');
......@@ -139,9 +139,6 @@ function handleEvent(event) {
client.replyMessage(event.replyToken,result).then(resolve).catch(reject);
});
});*/
})
}
else if(event.type == 'message' && event.message.type == 'text')
......