Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -100,7 +100,7 @@ async function handleEvent(event) { | ... | @@ -100,7 +100,7 @@ async function handleEvent(event) { |
100 | 100 | ||
101 | request.post(options, function (error, response, body) { | 101 | request.post(options, function (error, response, body) { |
102 | let jsonResponse = JSON.stringify(JSON.parse(body), null, ' '); | 102 | let jsonResponse = JSON.stringify(JSON.parse(body), null, ' '); |
103 | - var text=''; | 103 | + console.log(jsonResponse); |
104 | while(jsonResponse.indexOf('text\\')!=-1) | 104 | while(jsonResponse.indexOf('text\\')!=-1) |
105 | { | 105 | { |
106 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text\\')+9); | 106 | jsonResponse=jsonResponse.substring(jsonResponse.indexOf('text\\')+9); | ... | ... |
-
Please register or login to post a comment