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:00:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a62f4028275fb54bfd9862b241fffb95e255002
4a62f402
1 parent
4dabc0a9
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
app.js
app.js
View file @
4a62f40
...
...
@@ -60,6 +60,7 @@ console.log(res.statusCode);
Promise
.
all
(
req
.
body
.
events
.
map
(
handleEvent
))
.
then
((
result
)
=>
res
.
json
(
result
))
.
catch
((
err
)
=>
{
console
.
log
(
err
);})
});
// event handler
function
handleEvent
(
event
)
{
...
...
Please
register
or
login
to post a comment