Toggle navigation
Toggle navigation
This project
Loading...
Sign in
은승우
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
은승우
2019-12-02 15:07:17 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e6cb10652f4eccf2470d036d573173f25f477be2
e6cb1065
1 parent
07724681
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app.js
app.js
View file @
e6cb106
...
...
@@ -60,7 +60,9 @@ console.log(res.statusCode);
Promise
.
all
(
req
.
body
.
events
.
map
(
handleEvent
))
.
then
((
result
)
=>
res
.
json
(
result
))
.
catch
((
err
)
=>
{
console
.
log
(
err
);})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
console
.
log
(
err
.
response
)
})
});
// event handler
function
handleEvent
(
event
)
{
...
...
Please
register
or
login
to post a comment