This commit is contained in:
Cedric Hoelzl 2019-09-20 13:51:47 +02:00
parent 3e1da3a73e
commit 3c3f64eb82

View File

@ -70,7 +70,8 @@ module.exports = function(url, cmds){
post_action : (bot,req,rep)=>{ post_action : (bot,req,rep)=>{
}, },
get_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 }
}, },
}], }],