Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -102,6 +102,7 @@ async function handleEvent(event) { | ... | @@ -102,6 +102,7 @@ async function handleEvent(event) { |
102 | let jsonResponse = JSON.stringify(JSON.parse(body), null, ' '); | 102 | let jsonResponse = JSON.stringify(JSON.parse(body), null, ' '); |
103 | jsonResponse=jsonResponse.toString() | 103 | jsonResponse=jsonResponse.toString() |
104 | console.log(jsonResponse); | 104 | console.log(jsonResponse); |
105 | + text=''; | ||
105 | while(jsonResponse.indexOf('text')!=-1) | 106 | while(jsonResponse.indexOf('text')!=-1) |
106 | { | 107 | { |
107 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text')+5); | 108 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text')+5); | ... | ... |
-
Please register or login to post a comment