Toggle navigation
Toggle navigation
This project
Loading...
Sign in
신원형
/
study-or-enjoy
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최유정
2022-06-07 18:54:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dac402b7b8e2f0a5f80bafb9653f894e8bf38d68
dac402b7
1 parent
bd281e9d
modified play question
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
main.js
main.js
View file @
dac402b
...
...
@@ -263,7 +263,7 @@ app.post('/hook', async function (req, res) {
{
url
:
TARGET_URL
,
headers
:
{
'Authorization'
:
`Bearer
${
TOKEN
}
`
},
json
:
{
"replyToken"
:
eventObj
.
replyToken
,
"messages"
:
[{
"type"
:
"text"
,
"text"
:
"
뭐하고 놀지?
\n1. 노래방\n2. 피시방\n3. 그 외 다른 곳!\n(숫자만 입력해주세요)"
}]
"messages"
:
[{
"type"
:
"text"
,
"text"
:
"
가고 싶은 곳을 선택해주세요.
\n1. 노래방\n2. 피시방\n3. 그 외 다른 곳!\n(숫자만 입력해주세요)"
}]
}
},
(
error
,
response
,
body
)
=>
{
console
.
log
(
body
)
...
...
Please
register
or
login
to post a comment