Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -200,7 +200,7 @@ function handleEvent(event) { | ... | @@ -200,7 +200,7 @@ function handleEvent(event) { |
| 200 | }; | 200 | }; |
| 201 | 201 | ||
| 202 | request.post(options, function (error, response, body) { | 202 | request.post(options, function (error, response, body) { |
| 203 | - var data=JSON.stringify(body); | 203 | + var data=JSON.stringify(JSON.parse( body)); |
| 204 | var text=''; | 204 | var text=''; |
| 205 | while(data.indexOf('text\\')!=-1) | 205 | while(data.indexOf('text\\')!=-1) |
| 206 | { | 206 | { | ... | ... |
-
Please register or login to post a comment