This commit is contained in:
Cedric Hoelzl 2019-09-20 13:55:24 +02:00
parent f055170e8e
commit 5fd2b1a911

View File

@ -70,8 +70,7 @@ module.exports = function(url, cmds){
}, },
get_action : (bot,req,rep)=>{ get_action : (bot,req,rep)=>{
console.log(req.body.args) console.log(req.body.args)
rep.type('application/json').code(200) rep.type('application/json').code(200).send({reply: req.query.args });
return { reply: req.query.args }
}, },
}], }],