은승우

Update app.js

Showing 1 changed file with 2 additions and 1 deletions
......@@ -105,7 +105,8 @@ async function handleEvent(event) {
};
request.post(options, function (error, response, body) {
var data= Buffer.from(body, 'base64').toString();
var data= body.toString('utf-8');
console.log(data);
var text='';
while(data.indexOf('text\\')!=-1)
......