{"action":"created","issue":{"url":"https://api.github.com/repos/nations/spoticord/issues/38","repository_url":"https://api.github.com/repos/nations/spoticord","labels_url":"https://api.github.com/repos/nations/spoticord/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/nations/spoticord/issues/38/comments","events_url":"https://api.github.com/repos/nations/spoticord/issues/38/events","html_url":"https://github.com/nations/spoticord/issues/38","id":278972617,"number":38,"title":"Issue when closing spotify, would love to recreate this. Finna rewrite this so much better.","user":{"login":"TheTetrabyte","id":31819732,"avatar_url":"https://avatars0.githubusercontent.com/u/31819732?v=4","gravatar_id":"","url":"https://api.github.com/users/TheTetrabyte","html_url":"https://github.com/TheTetrabyte","followers_url":"https://api.github.com/users/TheTetrabyte/followers","following_url":"https://api.github.com/users/TheTetrabyte/following{/other_user}","gists_url":"https://api.github.com/users/TheTetrabyte/gists{/gist_id}","starred_url":"https://api.github.com/users/TheTetrabyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheTetrabyte/subscriptions","organizations_url":"https://api.github.com/users/TheTetrabyte/orgs","repos_url":"https://api.github.com/users/TheTetrabyte/repos","events_url":"https://api.github.com/users/TheTetrabyte/events{/privacy}","received_events_url":"https://api.github.com/users/TheTetrabyte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-04T12:05:25Z","updated_at":"2017-12-05T04:34:06Z","closed_at":null,"author_association":"NONE","body":"When closting spotify this happens, javascript doesn't seem to be your strong suit. But bugs happen.\r\n\r\n```\r\nC:\\Users\\Tetrabyte\\Documents\\spoticord\\app.js:59\r\n    if (!res.track.track_resource || !res.track.artist_resource) return;\r\n                  ^\r\n\r\nTypeError: Cannot read property 'track_resource' of undefined\r\n    at C:\\Users\\Tetrabyte\\Documents\\spoticord\\app.js:59:19\r\n    at Request._callback (C:\\Users\\Tetrabyte\\Documents\\spoticord\\spotify.js:59:16)\r\n    at Request.self.callback (C:\\Users\\Tetrabyte\\Documents\\spoticord\\node_modules\\request\\request.js:186:22)\r\n    at emitTwo (events.js:125:13)\r\n    at Request.emit (events.js:213:7)\r\n    at Request.<anonymous> (C:\\Users\\Tetrabyte\\Documents\\spoticord\\node_modules\\request\\request.js:1163:10)\r\n    at emitOne (events.js:115:13)\r\n    at Request.emit (events.js:210:7)\r\n    at IncomingMessage.<anonymous> (C:\\Users\\Tetrabyte\\Documents\\spoticord\\node_modules\\request\\request.js:1085:12)\r\n    at Object.onceWrapper (events.js:314:30)\r\n```"},"comment":{"url":"https://api.github.com/repos/nations/spoticord/issues/comments/349192723","html_url":"https://github.com/nations/spoticord/issues/38#issuecomment-349192723","issue_url":"https://api.github.com/repos/nations/spoticord/issues/38","id":349192723,"user":{"login":"tilda","id":8301262,"avatar_url":"https://avatars3.githubusercontent.com/u/8301262?v=4","gravatar_id":"","url":"https://api.github.com/users/tilda","html_url":"https://github.com/tilda","followers_url":"https://api.github.com/users/tilda/followers","following_url":"https://api.github.com/users/tilda/following{/other_user}","gists_url":"https://api.github.com/users/tilda/gists{/gist_id}","starred_url":"https://api.github.com/users/tilda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilda/subscriptions","organizations_url":"https://api.github.com/users/tilda/orgs","repos_url":"https://api.github.com/users/tilda/repos","events_url":"https://api.github.com/users/tilda/events{/privacy}","received_events_url":"https://api.github.com/users/tilda/received_events","type":"User","site_admin":false},"created_at":"2017-12-05T04:34:06Z","updated_at":"2017-12-05T04:34:06Z","author_association":"NONE","body":"Well this is obvious. Since you just closed Spotify, you obviously can't retrieve the track so the object is just undefined"}}
{"actor":{"display_login":"tilda"}}