Toggle navigation
Toggle navigation
This project
Loading...
Sign in
오세헌
/
Ingredient-to-Dish-ChatBot
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
전언석
2022-06-06 17:49:02 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
070277fb79eee5101513f15781a39ffab839ce94
070277fb
1 parent
3e1f275f
FIX : when more than 2 recipes are selected
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
I_to_D_chatbot/reply.js
I_to_D_chatbot/reply.js
View file @
070277f
...
...
@@ -46,7 +46,7 @@ app.post('/hook', function (req, res) {
}
}
if
(
arr
.
length
!=
0
)
{
var
num
=
Math
.
floor
(
Math
.
random
()
*
arr
.
length
)
;
var
num
=
arr
[
Math
.
floor
(
Math
.
random
()
*
arr
.
length
)]
;
request
.
post
(
{
url
:
TARGET_URL
,
...
...
Please
register
or
login
to post a comment