diff --git a/config.js b/config.js index e0324cd..de233c1 100644 --- a/config.js +++ b/config.js @@ -70,7 +70,8 @@ module.exports = function(url, cmds){ post_action : (bot,req,rep)=>{ }, get_action : (bot,req,rep)=>{ - rep.send({reply: req.args}); + rep.type('application/json').code(200) + return { reply: req.query.args } }, }],