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:14:59 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5b8f1798624ba34e3560fbee79962787824588cb
5b8f1798
1 parent
12c84e8b
Update app.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
app.js
app.js
View file @
5b8f179
...
...
@@ -103,7 +103,7 @@ async function handleEvent(event) {
body
:
event
.
message
.
image
};
}).
then
(
}).
then
(
(
options
)
=>
{
request
.
post
(
options
,
function
(
error
,
response
,
body
)
{
var
data
=
JSON
.
stringify
(
body
);
var
text
=
''
;
...
...
@@ -139,7 +139,8 @@ async function handleEvent(event) {
}
client
.
replyMessage
(
event
.
replyToken
,
result
).
then
(
resolve
).
catch
(
reject
);
});
}))
})
})
}
else
if
(
event
.
type
==
'message'
&&
event
.
message
.
type
==
'text'
)
{
...
...
Please
register
or
login
to post a comment