권은령

fixing error...

Showing 1 changed file with 2 additions and 2 deletions
...@@ -143,8 +143,7 @@ function handleEvent(event) ...@@ -143,8 +143,7 @@ function handleEvent(event)
143 return; 143 return;
144 } 144 }
145 }); 145 });
146 - }); 146 +
147 -
148 return new Promise(function(resolve, reject) 147 return new Promise(function(resolve, reject)
149 { 148 {
150 var result = { type: 'text', text:''}; 149 var result = { type: 'text', text:''};
...@@ -156,6 +155,7 @@ function handleEvent(event) ...@@ -156,6 +155,7 @@ function handleEvent(event)
156 console.log(result.text); 155 console.log(result.text);
157 client.replyMessage(event.replyToken, result).then(resolve).catch(reject); 156 client.replyMessage(event.replyToken, result).then(resolve).catch(reject);
158 }); 157 });
158 + });
159 } 159 }
160 else 160 else
161 { 161 {
......