Cleanups
This commit is contained in:
parent
0a27dc9fd4
commit
021d9e88be
|
@ -34,7 +34,7 @@ module.exports = function(config) {
|
|||
};
|
||||
|
||||
youtube.videos.list(videosParams, function(err, resp) {
|
||||
console.log('respo', resp);
|
||||
//console.log('respo', resp);
|
||||
if(resp.items.length <= 0) {
|
||||
reject('No results');
|
||||
return;
|
||||
|
@ -75,7 +75,7 @@ module.exports = function(config) {
|
|||
//console.log(resp.items[0].snippet.title);
|
||||
//console.log(resp.items[0].snippet.channelTitle);
|
||||
|
||||
console.log(resp, videoId);
|
||||
//console.log(resp, videoId);
|
||||
if(resp.items.length <= 0) {
|
||||
reject('No results');
|
||||
return;
|
||||
|
@ -96,7 +96,7 @@ module.exports = function(config) {
|
|||
key: apikey
|
||||
};
|
||||
youtube.videos.list(videosParams, function(err2, resp2) {
|
||||
console.log('respo', resp2);
|
||||
//console.log('respo', resp2);
|
||||
if(resp2.items.length <= 0) {
|
||||
reject('No results');
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user