Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -72,6 +72,7 @@ app.post('/webhook', line.middleware(config), (req, res) => { | ... | @@ -72,6 +72,7 @@ app.post('/webhook', line.middleware(config), (req, res) => { |
72 | }); | 72 | }); |
73 | // event handler | 73 | // event handler |
74 | function handleEvent(event) { | 74 | function handleEvent(event) { |
75 | + console.log(event.type); | ||
75 | console.log(event.message); | 76 | console.log(event.message); |
76 | 77 | ||
77 | 78 | ... | ... |
-
Please register or login to post a comment