{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2","id":50420194,"html_url":"https://github.com/cflurin/homebridge-punt/pull/2","diff_url":"https://github.com/cflurin/homebridge-punt/pull/2.diff","patch_url":"https://github.com/cflurin/homebridge-punt/pull/2.patch","issue_url":"https://api.github.com/repos/cflurin/homebridge-punt/issues/2","number":2,"state":"closed","locked":false,"title":"define this.request also if auth not set","user":{"login":"braekling","id":11696260,"avatar_url":"https://avatars.githubusercontent.com/u/11696260?v=3","gravatar_id":"","url":"https://api.github.com/users/braekling","html_url":"https://github.com/braekling","followers_url":"https://api.github.com/users/braekling/followers","following_url":"https://api.github.com/users/braekling/following{/other_user}","gists_url":"https://api.github.com/users/braekling/gists{/gist_id}","starred_url":"https://api.github.com/users/braekling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braekling/subscriptions","organizations_url":"https://api.github.com/users/braekling/orgs","repos_url":"https://api.github.com/users/braekling/repos","events_url":"https://api.github.com/users/braekling/events{/privacy}","received_events_url":"https://api.github.com/users/braekling/received_events","type":"User","site_admin":false},"body":"If not authentication details aren't set, this.request won't be defined. This causes following error:\r\nTypeError: Cannot call method 'get' of undefined at Gateway.<anonymous> (/usr/local/lib/node_modules/homebridge-punt/gateway.js:219:18)\r\nThe committed fix makes sure this.request will be defined even without auth details.","created_at":"2015-11-11T18:48:44Z","updated_at":"2015-11-11T18:59:22Z","closed_at":"2015-11-11T18:59:22Z","merged_at":"2015-11-11T18:59:22Z","merge_commit_sha":"07144d4456cfbf0d36cd3e92af2008f25047a78d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2/commits","review_comments_url":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2/comments","review_comment_url":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cflurin/homebridge-punt/issues/2/comments","statuses_url":"https://api.github.com/repos/cflurin/homebridge-punt/statuses/77fe90587726b7174755504a1e31c15e8ac8caa7","head":{"label":"braekling:master","ref":"master","sha":"77fe90587726b7174755504a1e31c15e8ac8caa7","user":{"login":"braekling","id":11696260,"avatar_url":"https://avatars.githubusercontent.com/u/11696260?v=3","gravatar_id":"","url":"https://api.github.com/users/braekling","html_url":"https://github.com/braekling","followers_url":"https://api.github.com/users/braekling/followers","following_url":"https://api.github.com/users/braekling/following{/other_user}","gists_url":"https://api.github.com/users/braekling/gists{/gist_id}","starred_url":"https://api.github.com/users/braekling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braekling/subscriptions","organizations_url":"https://api.github.com/users/braekling/orgs","repos_url":"https://api.github.com/users/braekling/repos","events_url":"https://api.github.com/users/braekling/events{/privacy}","received_events_url":"https://api.github.com/users/braekling/received_events","type":"User","site_admin":false},"repo":{"id":46002102,"name":"homebridge-punt","full_name":"braekling/homebridge-punt","owner":{"login":"braekling","id":11696260,"avatar_url":"https://avatars.githubusercontent.com/u/11696260?v=3","gravatar_id":"","url":"https://api.github.com/users/braekling","html_url":"https://github.com/braekling","followers_url":"https://api.github.com/users/braekling/followers","following_url":"https://api.github.com/users/braekling/following{/other_user}","gists_url":"https://api.github.com/users/braekling/gists{/gist_id}","starred_url":"https://api.github.com/users/braekling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braekling/subscriptions","organizations_url":"https://api.github.com/users/braekling/orgs","repos_url":"https://api.github.com/users/braekling/repos","events_url":"https://api.github.com/users/braekling/events{/privacy}","received_events_url":"https://api.github.com/users/braekling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/braekling/homebridge-punt","description":"Homebridge Plugin","fork":true,"url":"https://api.github.com/repos/braekling/homebridge-punt","forks_url":"https://api.github.com/repos/braekling/homebridge-punt/forks","keys_url":"https://api.github.com/repos/braekling/homebridge-punt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/braekling/homebridge-punt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/braekling/homebridge-punt/teams","hooks_url":"https://api.github.com/repos/braekling/homebridge-punt/hooks","issue_events_url":"https://api.github.com/repos/braekling/homebridge-punt/issues/events{/number}","events_url":"https://api.github.com/repos/braekling/homebridge-punt/events","assignees_url":"https://api.github.com/repos/braekling/homebridge-punt/assignees{/user}","branches_url":"https://api.github.com/repos/braekling/homebridge-punt/branches{/branch}","tags_url":"https://api.github.com/repos/braekling/homebridge-punt/tags","blobs_url":"https://api.github.com/repos/braekling/homebridge-punt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/braekling/homebridge-punt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/braekling/homebridge-punt/git/refs{/sha}","trees_url":"https://api.github.com/repos/braekling/homebridge-punt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/braekling/homebridge-punt/statuses/{sha}","languages_url":"https://api.github.com/repos/braekling/homebridge-punt/languages","stargazers_url":"https://api.github.com/repos/braekling/homebridge-punt/stargazers","contributors_url":"https://api.github.com/repos/braekling/homebridge-punt/contributors","subscribers_url":"https://api.github.com/repos/braekling/homebridge-punt/subscribers","subscription_url":"https://api.github.com/repos/braekling/homebridge-punt/subscription","commits_url":"https://api.github.com/repos/braekling/homebridge-punt/commits{/sha}","git_commits_url":"https://api.github.com/repos/braekling/homebridge-punt/git/commits{/sha}","comments_url":"https://api.github.com/repos/braekling/homebridge-punt/comments{/number}","issue_comment_url":"https://api.github.com/repos/braekling/homebridge-punt/issues/comments{/number}","contents_url":"https://api.github.com/repos/braekling/homebridge-punt/contents/{+path}","compare_url":"https://api.github.com/repos/braekling/homebridge-punt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/braekling/homebridge-punt/merges","archive_url":"https://api.github.com/repos/braekling/homebridge-punt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/braekling/homebridge-punt/downloads","issues_url":"https://api.github.com/repos/braekling/homebridge-punt/issues{/number}","pulls_url":"https://api.github.com/repos/braekling/homebridge-punt/pulls{/number}","milestones_url":"https://api.github.com/repos/braekling/homebridge-punt/milestones{/number}","notifications_url":"https://api.github.com/repos/braekling/homebridge-punt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/braekling/homebridge-punt/labels{/name}","releases_url":"https://api.github.com/repos/braekling/homebridge-punt/releases{/id}","created_at":"2015-11-11T18:43:56Z","updated_at":"2015-11-11T18:43:57Z","pushed_at":"2015-11-11T18:47:50Z","git_url":"git://github.com/braekling/homebridge-punt.git","ssh_url":"git@github.com:braekling/homebridge-punt.git","clone_url":"https://github.com/braekling/homebridge-punt.git","svn_url":"https://github.com/braekling/homebridge-punt","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cflurin:master","ref":"master","sha":"8370929248882dd48595773eb96988e82b4db23f","user":{"login":"cflurin","id":5056710,"avatar_url":"https://avatars.githubusercontent.com/u/5056710?v=3","gravatar_id":"","url":"https://api.github.com/users/cflurin","html_url":"https://github.com/cflurin","followers_url":"https://api.github.com/users/cflurin/followers","following_url":"https://api.github.com/users/cflurin/following{/other_user}","gists_url":"https://api.github.com/users/cflurin/gists{/gist_id}","starred_url":"https://api.github.com/users/cflurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cflurin/subscriptions","organizations_url":"https://api.github.com/users/cflurin/orgs","repos_url":"https://api.github.com/users/cflurin/repos","events_url":"https://api.github.com/users/cflurin/events{/privacy}","received_events_url":"https://api.github.com/users/cflurin/received_events","type":"User","site_admin":false},"repo":{"id":45856655,"name":"homebridge-punt","full_name":"cflurin/homebridge-punt","owner":{"login":"cflurin","id":5056710,"avatar_url":"https://avatars.githubusercontent.com/u/5056710?v=3","gravatar_id":"","url":"https://api.github.com/users/cflurin","html_url":"https://github.com/cflurin","followers_url":"https://api.github.com/users/cflurin/followers","following_url":"https://api.github.com/users/cflurin/following{/other_user}","gists_url":"https://api.github.com/users/cflurin/gists{/gist_id}","starred_url":"https://api.github.com/users/cflurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cflurin/subscriptions","organizations_url":"https://api.github.com/users/cflurin/orgs","repos_url":"https://api.github.com/users/cflurin/repos","events_url":"https://api.github.com/users/cflurin/events{/privacy}","received_events_url":"https://api.github.com/users/cflurin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cflurin/homebridge-punt","description":"Homebridge Plugin","fork":false,"url":"https://api.github.com/repos/cflurin/homebridge-punt","forks_url":"https://api.github.com/repos/cflurin/homebridge-punt/forks","keys_url":"https://api.github.com/repos/cflurin/homebridge-punt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cflurin/homebridge-punt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cflurin/homebridge-punt/teams","hooks_url":"https://api.github.com/repos/cflurin/homebridge-punt/hooks","issue_events_url":"https://api.github.com/repos/cflurin/homebridge-punt/issues/events{/number}","events_url":"https://api.github.com/repos/cflurin/homebridge-punt/events","assignees_url":"https://api.github.com/repos/cflurin/homebridge-punt/assignees{/user}","branches_url":"https://api.github.com/repos/cflurin/homebridge-punt/branches{/branch}","tags_url":"https://api.github.com/repos/cflurin/homebridge-punt/tags","blobs_url":"https://api.github.com/repos/cflurin/homebridge-punt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cflurin/homebridge-punt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cflurin/homebridge-punt/git/refs{/sha}","trees_url":"https://api.github.com/repos/cflurin/homebridge-punt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cflurin/homebridge-punt/statuses/{sha}","languages_url":"https://api.github.com/repos/cflurin/homebridge-punt/languages","stargazers_url":"https://api.github.com/repos/cflurin/homebridge-punt/stargazers","contributors_url":"https://api.github.com/repos/cflurin/homebridge-punt/contributors","subscribers_url":"https://api.github.com/repos/cflurin/homebridge-punt/subscribers","subscription_url":"https://api.github.com/repos/cflurin/homebridge-punt/subscription","commits_url":"https://api.github.com/repos/cflurin/homebridge-punt/commits{/sha}","git_commits_url":"https://api.github.com/repos/cflurin/homebridge-punt/git/commits{/sha}","comments_url":"https://api.github.com/repos/cflurin/homebridge-punt/comments{/number}","issue_comment_url":"https://api.github.com/repos/cflurin/homebridge-punt/issues/comments{/number}","contents_url":"https://api.github.com/repos/cflurin/homebridge-punt/contents/{+path}","compare_url":"https://api.github.com/repos/cflurin/homebridge-punt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cflurin/homebridge-punt/merges","archive_url":"https://api.github.com/repos/cflurin/homebridge-punt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cflurin/homebridge-punt/downloads","issues_url":"https://api.github.com/repos/cflurin/homebridge-punt/issues{/number}","pulls_url":"https://api.github.com/repos/cflurin/homebridge-punt/pulls{/number}","milestones_url":"https://api.github.com/repos/cflurin/homebridge-punt/milestones{/number}","notifications_url":"https://api.github.com/repos/cflurin/homebridge-punt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cflurin/homebridge-punt/labels{/name}","releases_url":"https://api.github.com/repos/cflurin/homebridge-punt/releases{/id}","created_at":"2015-11-09T18:05:43Z","updated_at":"2015-11-10T12:10:42Z","pushed_at":"2015-11-11T18:59:22Z","git_url":"git://github.com/cflurin/homebridge-punt.git","ssh_url":"git@github.com:cflurin/homebridge-punt.git","clone_url":"https://github.com/cflurin/homebridge-punt.git","svn_url":"https://github.com/cflurin/homebridge-punt","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2"},"html":{"href":"https://github.com/cflurin/homebridge-punt/pull/2"},"issue":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/issues/2"},"comments":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/cflurin/homebridge-punt/statuses/77fe90587726b7174755504a1e31c15e8ac8caa7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cflurin","id":5056710,"avatar_url":"https://avatars.githubusercontent.com/u/5056710?v=3","gravatar_id":"","url":"https://api.github.com/users/cflurin","html_url":"https://github.com/cflurin","followers_url":"https://api.github.com/users/cflurin/followers","following_url":"https://api.github.com/users/cflurin/following{/other_user}","gists_url":"https://api.github.com/users/cflurin/gists{/gist_id}","starred_url":"https://api.github.com/users/cflurin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cflurin/subscriptions","organizations_url":"https://api.github.com/users/cflurin/orgs","repos_url":"https://api.github.com/users/cflurin/repos","events_url":"https://api.github.com/users/cflurin/events{/privacy}","received_events_url":"https://api.github.com/users/cflurin/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}