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 14:01:58 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a26c0d4f8e19f39d04765efb9a311efafe3ed343
a26c0d4f
1 parent
07e0a338
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app.js
app.js
View file @
a26c0d4
...
...
@@ -105,8 +105,8 @@ async function handleEvent(event) {
};
request
.
post
(
options
,
function
(
error
,
response
,
body
)
{
console
.
log
(
mime
.
contentType
(
chunk
)
);
var
data
=
body
.
toString
(
'utf-8'
);
let
jsonRes
=
JSON
.
stringify
(
JSON
.
parse
(
body
),
null
,
' '
);
console
.
log
(
jsonRes
);
var
text
=
''
;
while
(
data
.
indexOf
(
'text\\'
)
!=-
1
)
{
...
...
Please
register
or
login
to post a comment