From 5fd2b1a911b49221f3df52fb5aad830a0a5809f5 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Fri, 20 Sep 2019 13:55:24 +0200 Subject: [PATCH] fix --- config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.js b/config.js index 5f23231..3811918 100644 --- a/config.js +++ b/config.js @@ -70,8 +70,7 @@ module.exports = function(url, cmds){ }, get_action : (bot,req,rep)=>{ console.log(req.body.args) - rep.type('application/json').code(200) - return { reply: req.query.args } + rep.type('application/json').code(200).send({reply: req.query.args }); }, }],