은승우

debug app.js

Showing 1 changed file with 1 additions and 1 deletions
...@@ -102,10 +102,10 @@ function handleEvent(event) { ...@@ -102,10 +102,10 @@ function handleEvent(event) {
102 }, 102 },
103 body: event.message.image 103 body: event.message.image
104 }; 104 };
105 - console.log("1");
106 request.post(options, function (error, response, body) { 105 request.post(options, function (error, response, body) {
107 var data=JSON.stringify(body); 106 var data=JSON.stringify(body);
108 var text=''; 107 var text='';
108 + console.log(data);
109 while(data.indexOf('text\\')!=-1) 109 while(data.indexOf('text\\')!=-1)
110 { 110 {
111 data=data.substring(data.indexOf('text\\')+9); 111 data=data.substring(data.indexOf('text\\')+9);
......