Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -143,7 +143,6 @@ function handleEvent(event) | ... | @@ -143,7 +143,6 @@ function handleEvent(event) |
143 | return; | 143 | return; |
144 | } | 144 | } |
145 | }); | 145 | }); |
146 | - }); | ||
147 | 146 | ||
148 | return new Promise(function(resolve, reject) | 147 | return new Promise(function(resolve, reject) |
149 | { | 148 | { |
... | @@ -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 | { | ... | ... |
-
Please register or login to post a comment