Skip to content

Commit

Permalink
Change start count
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisZieba committed Jun 25, 2018
1 parent 6b586f6 commit b555dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const format = (res) => {
return res.reduce((playlist, result) => {
if (Array.isArray(result.response.items) && result.response.items.length > 0) {
let id = result.response.items[0].id["videoId"];

console.log(result.response)
// Make sure the ID only appears once in the playlist
if (id && !map[id]) {
playlist.push({
Expand Down Expand Up @@ -101,7 +101,7 @@ youtube.getVideos = (tracks) => {
const options = {
"type": "video",
"order": "relevance",
'start-index': "1",
'start-index': "5",
"max-results": "15",
"videoCategoryId": "10",
"videoEmbeddable": "true",
Expand Down

0 comments on commit b555dcb

Please sign in to comment.