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