은승우

Update app.js

Showing 1 changed file with 2 additions and 2 deletions
......@@ -103,8 +103,8 @@ async function handleEvent(event) {
text='';
while(jsonResponse.indexOf('text')!=-1)
{
jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text')+7);
text+=jsonResponse.substring(0,jsonResponse.indexOf("}")-1)+" ";
jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text\\')+7);
text+=jsonResponse.substring(0,jsonResponse.indexOf("\\")-1)+" ";
}
......