fix
This commit is contained in:
parent
f8641252b2
commit
c1d4f4077d
@ -50,6 +50,7 @@ module.exports = function(url, cmds){
|
||||
return reject(500);//response.statusCode);
|
||||
}
|
||||
console.log(body)
|
||||
console.log(body.reply)
|
||||
event.reply(body.reply).catch(err=>bot.error(err));
|
||||
return resolve(200);
|
||||
|
||||
@ -69,7 +70,6 @@ module.exports = function(url, cmds){
|
||||
post_action : (bot,req,rep)=>{
|
||||
},
|
||||
get_action : (bot,req,rep)=>{
|
||||
console.log(req.query.args)
|
||||
rep.type('application/json').code(200).send({reply: req.query.args });
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user