{"action":"closed","issue":{"url":"https://api.github.com/repos/curlydevil/youtube-api-app/issues/86","labels_url":"https://api.github.com/repos/curlydevil/youtube-api-app/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/curlydevil/youtube-api-app/issues/86/comments","events_url":"https://api.github.com/repos/curlydevil/youtube-api-app/issues/86/events","html_url":"https://github.com/curlydevil/youtube-api-app/issues/86","id":95649372,"number":86,"title":"Comparing index with 1 instead of using isVideoInList function.","user":{"login":"curlydevil","id":764884,"avatar_url":"https://avatars.githubusercontent.com/u/764884?v=3","gravatar_id":"","url":"https://api.github.com/users/curlydevil","html_url":"https://github.com/curlydevil","followers_url":"https://api.github.com/users/curlydevil/followers","following_url":"https://api.github.com/users/curlydevil/following{/other_user}","gists_url":"https://api.github.com/users/curlydevil/gists{/gist_id}","starred_url":"https://api.github.com/users/curlydevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlydevil/subscriptions","organizations_url":"https://api.github.com/users/curlydevil/orgs","repos_url":"https://api.github.com/users/curlydevil/repos","events_url":"https://api.github.com/users/curlydevil/events{/privacy}","received_events_url":"https://api.github.com/users/curlydevil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/curlydevil/youtube-api-app/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/curlydevil/youtube-api-app/labels/js","name":"js","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/curlydevil/youtube-api-app/milestones/7","html_url":"https://github.com/curlydevil/youtube-api-app/milestones/Code%20review%20remarks","labels_url":"https://api.github.com/repos/curlydevil/youtube-api-app/milestones/7/labels","id":1212874,"number":7,"title":"Code review remarks","description":"","creator":{"login":"curlydevil","id":764884,"avatar_url":"https://avatars.githubusercontent.com/u/764884?v=3","gravatar_id":"","url":"https://api.github.com/users/curlydevil","html_url":"https://github.com/curlydevil","followers_url":"https://api.github.com/users/curlydevil/followers","following_url":"https://api.github.com/users/curlydevil/following{/other_user}","gists_url":"https://api.github.com/users/curlydevil/gists{/gist_id}","starred_url":"https://api.github.com/users/curlydevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curlydevil/subscriptions","organizations_url":"https://api.github.com/users/curlydevil/orgs","repos_url":"https://api.github.com/users/curlydevil/repos","events_url":"https://api.github.com/users/curlydevil/events{/privacy}","received_events_url":"https://api.github.com/users/curlydevil/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":7,"state":"open","created_at":"2015-07-17T12:32:30Z","updated_at":"2015-08-07T09:24:17Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-07-17T12:42:59Z","updated_at":"2015-08-07T09:24:17Z","closed_at":"2015-08-07T09:24:17Z","body":"In SearchController you don't use isVideoInList function but comparing index with 1.\r\nhttps://github.com/curlydevil/youtube-api-app/blob/master/app/search/searchController.js#L28-L35"}}