은승우

Update app.js

Showing 1 changed file with 1 additions and 0 deletions
...@@ -100,6 +100,7 @@ async function handleEvent(event) { ...@@ -100,6 +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 + jsonResponse=jsonResponse.toString()
103 console.log(jsonResponse); 104 console.log(jsonResponse);
104 while(jsonResponse.indexOf('text\\')!=-1) 105 while(jsonResponse.indexOf('text\\')!=-1)
105 { 106 {
......