Skip to content

Commit 9bc7caf

Browse files
quentinbtHyunje Jun
authored andcommitted
Semicolon fix (#53)
* add a catch to promise for echo-bot * semicolon removed on promise for echo bot example
1 parent 2a42d67 commit 9bc7caf

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

examples/echo-bot/.index.js.swp

12 KB
Binary file not shown.

examples/echo-bot/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const app = express();
2121
app.post('/callback', line.middleware(config), (req, res) => {
2222
Promise
2323
.all(req.body.events.map(handleEvent))
24-
.then((result) => res.json(result));
24+
.then((result) => res.json(result))
2525
.catch((err) => {
2626
console.error(err);
2727
res.status(500).end();

0 commit comments

Comments
 (0)