은승우

Update app.js

Showing 1 changed file with 1 additions and 2 deletions
......@@ -85,10 +85,9 @@ async function handleEvent(event) {
client.getMessageContent(event.message.id)
.then((stream) => {
stream.on('data', (chunk) => {
console.log(chunk);
client.replyMessage(event.replyToken,chunk).then(resolve).catch(reject);
});
var cheerio = require('cheerio');
var uriBase = 'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr';
......