은승우

Update app.js

Showing 1 changed file with 1 additions and 0 deletions
......@@ -99,6 +99,7 @@ async function handleEvent(event) {
request.post(options, function (error, response, body) {
let jsonResponse = JSON.stringify(JSON.parse(body), null, ' ');
jsonResponse=jsonResponse.toString()
console.log(jsonResponse);
text='';
while(jsonResponse.indexOf('text')!=-1)
{
......