3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-04 18:09:30 +01:00

translate module

This commit is contained in:
reality 2016-03-03 15:55:47 +00:00
parent 212ae87e8b
commit 266f6b58f4

View File

@ -20,8 +20,6 @@ var translate = function(dbot) {
}, },
'json': true 'json': true
}, function(err, res, body) { }, function(err, res, body) {
console.log(err);
console.log(body);
if(!err && _.has(body, 'tuc')) { if(!err && _.has(body, 'tuc')) {
callback(false, body.tuc); callback(false, body.tuc);
} else { } else {