전언석

FIX : when more than 2 recipes are selected

......@@ -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,
......