Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit 638421e

Browse files
committed
Update app.js
1 parent 35933d5 commit 638421e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ const auth = new google.auth.GoogleAuth({
2424
app.post('/webhook', line.middleware(lineConfig), async (req, res, next) => {
2525
try {
2626
const events = req.body.events
27-
//console.log('event', events);
28-
console.log('User Input :', events.message.text)
27+
console.log('event', events);
2928
events.length > 0 ? await events.map(item => handleEvent(item)) : res.status(200).send("OK")
3029

3130
if (req.session.user) return next();

0 commit comments

Comments
 (0)