{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1","id":90796900,"html_url":"https://github.com/AudienseCo/instagram-node/pull/1","diff_url":"https://github.com/AudienseCo/instagram-node/pull/1.diff","patch_url":"https://github.com/AudienseCo/instagram-node/pull/1.patch","issue_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/1","number":1,"state":"open","locked":false,"title":"Avoid calling callback twice on errors","user":{"login":"aartiles","id":92608,"avatar_url":"https://avatars.githubusercontent.com/u/92608?v=3","gravatar_id":"","url":"https://api.github.com/users/aartiles","html_url":"https://github.com/aartiles","followers_url":"https://api.github.com/users/aartiles/followers","following_url":"https://api.github.com/users/aartiles/following{/other_user}","gists_url":"https://api.github.com/users/aartiles/gists{/gist_id}","starred_url":"https://api.github.com/users/aartiles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aartiles/subscriptions","organizations_url":"https://api.github.com/users/aartiles/orgs","repos_url":"https://api.github.com/users/aartiles/repos","events_url":"https://api.github.com/users/aartiles/events{/privacy}","received_events_url":"https://api.github.com/users/aartiles/received_events","type":"User","site_admin":false},"body":"`ECONNRESET` errors are triggered in the on `error` event but the `end` event is also triggered so the `handle_error` callback is called twice.","created_at":"2016-10-25T12:25:51Z","updated_at":"2016-10-25T12:25:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a545991fbbccd936b3277bba138fbba0caa776c1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1/commits","review_comments_url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1/comments","review_comment_url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/1/comments","statuses_url":"https://api.github.com/repos/AudienseCo/instagram-node/statuses/ec5d5f6566bc3630cf0b20772ddef7a059225d40","head":{"label":"AudienseCo:duplicate-callbacks","ref":"duplicate-callbacks","sha":"ec5d5f6566bc3630cf0b20772ddef7a059225d40","user":{"login":"AudienseCo","id":2454008,"avatar_url":"https://avatars.githubusercontent.com/u/2454008?v=3","gravatar_id":"","url":"https://api.github.com/users/AudienseCo","html_url":"https://github.com/AudienseCo","followers_url":"https://api.github.com/users/AudienseCo/followers","following_url":"https://api.github.com/users/AudienseCo/following{/other_user}","gists_url":"https://api.github.com/users/AudienseCo/gists{/gist_id}","starred_url":"https://api.github.com/users/AudienseCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudienseCo/subscriptions","organizations_url":"https://api.github.com/users/AudienseCo/orgs","repos_url":"https://api.github.com/users/AudienseCo/repos","events_url":"https://api.github.com/users/AudienseCo/events{/privacy}","received_events_url":"https://api.github.com/users/AudienseCo/received_events","type":"Organization","site_admin":false},"repo":{"id":71893847,"name":"instagram-node","full_name":"AudienseCo/instagram-node","owner":{"login":"AudienseCo","id":2454008,"avatar_url":"https://avatars.githubusercontent.com/u/2454008?v=3","gravatar_id":"","url":"https://api.github.com/users/AudienseCo","html_url":"https://github.com/AudienseCo","followers_url":"https://api.github.com/users/AudienseCo/followers","following_url":"https://api.github.com/users/AudienseCo/following{/other_user}","gists_url":"https://api.github.com/users/AudienseCo/gists{/gist_id}","starred_url":"https://api.github.com/users/AudienseCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudienseCo/subscriptions","organizations_url":"https://api.github.com/users/AudienseCo/orgs","repos_url":"https://api.github.com/users/AudienseCo/repos","events_url":"https://api.github.com/users/AudienseCo/events{/privacy}","received_events_url":"https://api.github.com/users/AudienseCo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AudienseCo/instagram-node","description":"NodeJS driver for the instagram API","fork":true,"url":"https://api.github.com/repos/AudienseCo/instagram-node","forks_url":"https://api.github.com/repos/AudienseCo/instagram-node/forks","keys_url":"https://api.github.com/repos/AudienseCo/instagram-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AudienseCo/instagram-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AudienseCo/instagram-node/teams","hooks_url":"https://api.github.com/repos/AudienseCo/instagram-node/hooks","issue_events_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/events{/number}","events_url":"https://api.github.com/repos/AudienseCo/instagram-node/events","assignees_url":"https://api.github.com/repos/AudienseCo/instagram-node/assignees{/user}","branches_url":"https://api.github.com/repos/AudienseCo/instagram-node/branches{/branch}","tags_url":"https://api.github.com/repos/AudienseCo/instagram-node/tags","blobs_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AudienseCo/instagram-node/statuses/{sha}","languages_url":"https://api.github.com/repos/AudienseCo/instagram-node/languages","stargazers_url":"https://api.github.com/repos/AudienseCo/instagram-node/stargazers","contributors_url":"https://api.github.com/repos/AudienseCo/instagram-node/contributors","subscribers_url":"https://api.github.com/repos/AudienseCo/instagram-node/subscribers","subscription_url":"https://api.github.com/repos/AudienseCo/instagram-node/subscription","commits_url":"https://api.github.com/repos/AudienseCo/instagram-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/AudienseCo/instagram-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/AudienseCo/instagram-node/contents/{+path}","compare_url":"https://api.github.com/repos/AudienseCo/instagram-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AudienseCo/instagram-node/merges","archive_url":"https://api.github.com/repos/AudienseCo/instagram-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AudienseCo/instagram-node/downloads","issues_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues{/number}","pulls_url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls{/number}","milestones_url":"https://api.github.com/repos/AudienseCo/instagram-node/milestones{/number}","notifications_url":"https://api.github.com/repos/AudienseCo/instagram-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AudienseCo/instagram-node/labels{/name}","releases_url":"https://api.github.com/repos/AudienseCo/instagram-node/releases{/id}","deployments_url":"https://api.github.com/repos/AudienseCo/instagram-node/deployments","created_at":"2016-10-25T12:17:28Z","updated_at":"2016-10-25T12:17:29Z","pushed_at":"2016-10-25T12:25:52Z","git_url":"git://github.com/AudienseCo/instagram-node.git","ssh_url":"git@github.com:AudienseCo/instagram-node.git","clone_url":"https://github.com/AudienseCo/instagram-node.git","svn_url":"https://github.com/AudienseCo/instagram-node","homepage":null,"size":640,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"AudienseCo:master","ref":"master","sha":"58b7cb90c262372555d21dc014fe387081901d99","user":{"login":"AudienseCo","id":2454008,"avatar_url":"https://avatars.githubusercontent.com/u/2454008?v=3","gravatar_id":"","url":"https://api.github.com/users/AudienseCo","html_url":"https://github.com/AudienseCo","followers_url":"https://api.github.com/users/AudienseCo/followers","following_url":"https://api.github.com/users/AudienseCo/following{/other_user}","gists_url":"https://api.github.com/users/AudienseCo/gists{/gist_id}","starred_url":"https://api.github.com/users/AudienseCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudienseCo/subscriptions","organizations_url":"https://api.github.com/users/AudienseCo/orgs","repos_url":"https://api.github.com/users/AudienseCo/repos","events_url":"https://api.github.com/users/AudienseCo/events{/privacy}","received_events_url":"https://api.github.com/users/AudienseCo/received_events","type":"Organization","site_admin":false},"repo":{"id":71893847,"name":"instagram-node","full_name":"AudienseCo/instagram-node","owner":{"login":"AudienseCo","id":2454008,"avatar_url":"https://avatars.githubusercontent.com/u/2454008?v=3","gravatar_id":"","url":"https://api.github.com/users/AudienseCo","html_url":"https://github.com/AudienseCo","followers_url":"https://api.github.com/users/AudienseCo/followers","following_url":"https://api.github.com/users/AudienseCo/following{/other_user}","gists_url":"https://api.github.com/users/AudienseCo/gists{/gist_id}","starred_url":"https://api.github.com/users/AudienseCo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudienseCo/subscriptions","organizations_url":"https://api.github.com/users/AudienseCo/orgs","repos_url":"https://api.github.com/users/AudienseCo/repos","events_url":"https://api.github.com/users/AudienseCo/events{/privacy}","received_events_url":"https://api.github.com/users/AudienseCo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AudienseCo/instagram-node","description":"NodeJS driver for the instagram API","fork":true,"url":"https://api.github.com/repos/AudienseCo/instagram-node","forks_url":"https://api.github.com/repos/AudienseCo/instagram-node/forks","keys_url":"https://api.github.com/repos/AudienseCo/instagram-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AudienseCo/instagram-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AudienseCo/instagram-node/teams","hooks_url":"https://api.github.com/repos/AudienseCo/instagram-node/hooks","issue_events_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/events{/number}","events_url":"https://api.github.com/repos/AudienseCo/instagram-node/events","assignees_url":"https://api.github.com/repos/AudienseCo/instagram-node/assignees{/user}","branches_url":"https://api.github.com/repos/AudienseCo/instagram-node/branches{/branch}","tags_url":"https://api.github.com/repos/AudienseCo/instagram-node/tags","blobs_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AudienseCo/instagram-node/statuses/{sha}","languages_url":"https://api.github.com/repos/AudienseCo/instagram-node/languages","stargazers_url":"https://api.github.com/repos/AudienseCo/instagram-node/stargazers","contributors_url":"https://api.github.com/repos/AudienseCo/instagram-node/contributors","subscribers_url":"https://api.github.com/repos/AudienseCo/instagram-node/subscribers","subscription_url":"https://api.github.com/repos/AudienseCo/instagram-node/subscription","commits_url":"https://api.github.com/repos/AudienseCo/instagram-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/AudienseCo/instagram-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/AudienseCo/instagram-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/AudienseCo/instagram-node/contents/{+path}","compare_url":"https://api.github.com/repos/AudienseCo/instagram-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AudienseCo/instagram-node/merges","archive_url":"https://api.github.com/repos/AudienseCo/instagram-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AudienseCo/instagram-node/downloads","issues_url":"https://api.github.com/repos/AudienseCo/instagram-node/issues{/number}","pulls_url":"https://api.github.com/repos/AudienseCo/instagram-node/pulls{/number}","milestones_url":"https://api.github.com/repos/AudienseCo/instagram-node/milestones{/number}","notifications_url":"https://api.github.com/repos/AudienseCo/instagram-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AudienseCo/instagram-node/labels{/name}","releases_url":"https://api.github.com/repos/AudienseCo/instagram-node/releases{/id}","deployments_url":"https://api.github.com/repos/AudienseCo/instagram-node/deployments","created_at":"2016-10-25T12:17:28Z","updated_at":"2016-10-25T12:17:29Z","pushed_at":"2016-10-25T12:25:52Z","git_url":"git://github.com/AudienseCo/instagram-node.git","ssh_url":"git@github.com:AudienseCo/instagram-node.git","clone_url":"https://github.com/AudienseCo/instagram-node.git","svn_url":"https://github.com/AudienseCo/instagram-node","homepage":null,"size":640,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1"},"html":{"href":"https://github.com/AudienseCo/instagram-node/pull/1"},"issue":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/issues/1"},"comments":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/AudienseCo/instagram-node/statuses/ec5d5f6566bc3630cf0b20772ddef7a059225d40"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"aartiles"}}