Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
fix(youtube): remove in src
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbrn committed Jul 4, 2018
1 parent 9ab7779 commit 10c9b81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/providers/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ var searchUrl = function searchUrl(query, token) {
return url;
};

var fetchVideo = _.memoize(function (videoId, part) {
var fetchVideo = function fetchVideo(videoId, part) {
return fetch(fetchUrl(videoId, part), { headers: provider.headers }).then(function (res) {
return res.json();
});
});
};

/**
* Convert duration ISO 8601 to seconds
Expand Down

0 comments on commit 10c9b81

Please sign in to comment.