은승우

Update app.js

Showing 1 changed file with 1 additions and 1 deletions
......@@ -73,7 +73,7 @@ app.post('/webhook', line.middleware(config), (req, res) => {
// event handler
async function handleEvent(event) {
console.log(event.type);
console.log(event.message);
console.log(event.message.image);
if (event.type !== 'message' && (event.message.type !== 'text'||event.message.type !== 'image')) {
......