권은령

fix typo

Showing 1 changed file with 1 additions and 1 deletions
...@@ -179,7 +179,7 @@ function handleEvent(event) { ...@@ -179,7 +179,7 @@ function handleEvent(event) {
179 }); 179 });
180 }); 180 });
181 } 181 }
182 - else if (event.type == 'message' && event.message.type == "text" && event.message.text.indexOf('http')!=-1) { 182 + else if (event.message.text.indexOf('http')!=-1) {
183 return new Promise(async(resolve,reject)=>{ 183 return new Promise(async(resolve,reject)=>{
184 var cheerio = require('cheerio'); 184 var cheerio = require('cheerio');
185 var uriBase = 'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr'; 185 var uriBase = 'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr';
......