{"action":"created","issue":{"url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/11","repository_url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory","labels_url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/11/comments","events_url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/11/events","html_url":"https://github.com/JohnnyTheTank/angular-youtube-api-factory/issues/11","id":168311307,"number":11,"title":"getVideoById returns undefined ","user":{"login":"erwinkramer","id":4255748,"avatar_url":"https://avatars.githubusercontent.com/u/4255748?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinkramer","html_url":"https://github.com/erwinkramer","followers_url":"https://api.github.com/users/erwinkramer/followers","following_url":"https://api.github.com/users/erwinkramer/following{/other_user}","gists_url":"https://api.github.com/users/erwinkramer/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinkramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinkramer/subscriptions","organizations_url":"https://api.github.com/users/erwinkramer/orgs","repos_url":"https://api.github.com/users/erwinkramer/repos","events_url":"https://api.github.com/users/erwinkramer/events{/privacy}","received_events_url":"https://api.github.com/users/erwinkramer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T12:10:12Z","updated_at":"2016-07-29T12:20:00Z","closed_at":null,"body":"If i call ` youtubeFactory.getVideoById` and check my network, i see a valid request to the YouTube API and i get back a valid JSONresponse. It comes in the `.then(function (_data)` block and not in the `catch`, as expected. However, i call a `console.log(_data.kind);` and it returns `undefined`. What's the issue here?"},"comment":{"url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/comments/236166203","html_url":"https://github.com/JohnnyTheTank/angular-youtube-api-factory/issues/11#issuecomment-236166203","issue_url":"https://api.github.com/repos/JohnnyTheTank/angular-youtube-api-factory/issues/11","id":236166203,"user":{"login":"JohnnyTheTank","id":6803264,"avatar_url":"https://avatars.githubusercontent.com/u/6803264?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnyTheTank","html_url":"https://github.com/JohnnyTheTank","followers_url":"https://api.github.com/users/JohnnyTheTank/followers","following_url":"https://api.github.com/users/JohnnyTheTank/following{/other_user}","gists_url":"https://api.github.com/users/JohnnyTheTank/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnyTheTank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnyTheTank/subscriptions","organizations_url":"https://api.github.com/users/JohnnyTheTank/orgs","repos_url":"https://api.github.com/users/JohnnyTheTank/repos","events_url":"https://api.github.com/users/JohnnyTheTank/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnyTheTank/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T12:19:59Z","updated_at":"2016-07-29T12:19:59Z","body":"I guess you should call `console.log(_data.data.kind);`"}}
{"actor":{"display_login":"JohnnyTheTank"}}