은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
......@@ -103,7 +103,7 @@ async function handleEvent(event) {
body: fs.readFileSync('./photo/1.png')
};
request.post(options, function (error, response, body) {
data=JSON.stringify(JSON.parse(body), null, ' ');
var data=body;
console.log(data);
var text='';
while(data.indexOf('text\\')!=-1)
......