From 3c3f64eb82b932939309fb52be2eb73c5eaedd00 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Fri, 20 Sep 2019 13:51:47 +0200 Subject: [PATCH] fix --- config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } }, }],