made youtube api cache have conatcnt part value

This commit is contained in:
Joe Dowd
2020-10-14 20:52:01 +01:00
parent bcf90e8094
commit 830ef7e0dc
4 changed files with 8 additions and 8 deletions

View File

@@ -8,9 +8,8 @@ YouTubeAPI.videos.list({
// https://developers.google.com/youtube/v3/docs/videos
const YouTubeAPI = {
listVideos: (id, part, callback) => {
listVideos: (id, callback) => {
YouTubeAPI.videos.list({
part: part,
id: id
}, callback);
},