From c1d4f4077d2cb39d390fc9eb378d81eff7647648 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Fri, 20 Sep 2019 13:58:00 +0200 Subject: [PATCH] fix --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index a20fca5..c801455 100644 --- a/config.js +++ b/config.js @@ -50,6 +50,7 @@ module.exports = function(url, cmds){ return reject(500);//response.statusCode); } console.log(body) + console.log(body.reply) event.reply(body.reply).catch(err=>bot.error(err)); return resolve(200); @@ -69,7 +70,6 @@ module.exports = function(url, cmds){ post_action : (bot,req,rep)=>{ }, get_action : (bot,req,rep)=>{ - console.log(req.query.args) rep.type('application/json').code(200).send({reply: req.query.args }); },