Showing
1 changed file
with
1 additions
and
7 deletions
... | @@ -86,13 +86,7 @@ function handleEvent(event) { | ... | @@ -86,13 +86,7 @@ function handleEvent(event) { |
86 | // ignore non-text-message event | 86 | // ignore non-text-message event |
87 | return Promise.resolve(null); | 87 | return Promise.resolve(null); |
88 | } | 88 | } |
89 | - if (event.type == 'message'&& event.message.type == 'image') { | 89 | + |
90 | - return new Promise((resolve,reject)=>{ | ||
91 | - var upload = multer({ dest: 'photo/' }) | ||
92 | - upload.single(event.message.image); | ||
93 | - | ||
94 | - }) | ||
95 | - } | ||
96 | if (event.type == 'message'&& event.message.type == 'text') { | 90 | if (event.type == 'message'&& event.message.type == 'text') { |
97 | return new Promise(function(resolve, reject) { | 91 | return new Promise(function(resolve, reject) { |
98 | //언어 감지 option | 92 | //언어 감지 option | ... | ... |
-
Please register or login to post a comment