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-05 12:39:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
42c930aa2d07d76eb466874aaeef553c1b192c77
42c930aa
1 parent
afe83a46
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app.js
app.js
View file @
42c930a
...
...
@@ -73,7 +73,7 @@ app.post('/webhook', line.middleware(config), (req, res) => {
// event handler
async
function
handleEvent
(
event
)
{
console
.
log
(
event
.
type
);
console
.
log
(
event
.
message
);
console
.
log
(
event
.
message
.
image
);
if
(
event
.
type
!==
'message'
&&
(
event
.
message
.
type
!==
'text'
||
event
.
message
.
type
!==
'image'
))
{
...
...
Please
register
or
login
to post a comment