Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -106,9 +106,9 @@ async function handleEvent(event) { | ... | @@ -106,9 +106,9 @@ async function handleEvent(event) { |
106 | }, | 106 | }, |
107 | body: file | 107 | body: file |
108 | }; | 108 | }; |
109 | - console.log(body); | 109 | + console.log(options.body); |
110 | request.post(options, function (error, response, body) { | 110 | request.post(options, function (error, response, body) { |
111 | - data=body; | 111 | + data=options.body; |
112 | var text=''; | 112 | var text=''; |
113 | while(data.indexOf('text\\')!=-1) | 113 | while(data.indexOf('text\\')!=-1) |
114 | { | 114 | { | ... | ... |
-
Please register or login to post a comment