3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-11 12:32:36 +01:00

even betterer

This commit is contained in:
reality 2013-08-07 19:17:30 +00:00
parent 4dd6fab12f
commit b7ccc8c0e6

View File

@ -61,7 +61,7 @@ var youtube = function(dbot) {
console.log('DEBUG: well it got to the callback of the callback'); console.log('DEBUG: well it got to the callback of the callback');
console.log('DEBUG: ' + match[2]); console.log('DEBUG: ' + match[2]);
console.log('DEBUG: ' + error); console.log('DEBUG: ' + error);
console.log('DEBUG: ' + body); console.log(body);
if(_.isObject(body) && _.has(body, 'entry')) { if(_.isObject(body) && _.has(body, 'entry')) {
var v = body.entry; var v = body.entry;
if(!_.has(v, 'yt$rating')) { if(!_.has(v, 'yt$rating')) {