은승우

Update app.js

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