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:44:38 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
33bf09380735e512bc9177ab86e1f9459ea27485
33bf0938
1 parent
6ad478a5
Update app.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
app.js
app.js
View file @
33bf093
...
...
@@ -85,11 +85,10 @@ async function handleEvent(event) {
client
.
getMessageContent
(
event
.
message
.
id
)
.
then
((
stream
)
=>
{
stream
.
on
(
'data'
,
(
chunk
)
=>
{
client
.
replyMessage
(
event
.
replyToken
,
chunk
).
then
(
resolve
).
catch
(
reject
);
console
.
log
(
chunk
);
client
.
replyMessage
(
event
.
replyToken
,
chunk
).
then
(
resolve
).
catch
(
reject
);
});
var
cheerio
=
require
(
'cheerio'
);
var
cheerio
=
require
(
'cheerio'
);
var
uriBase
=
'https://koreacentral.api.cognitive.microsoft.com/vision/v2.1/ocr'
;
var
options
=
{
...
...
Please
register
or
login
to post a comment