{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2","id":116992293,"html_url":"https://github.com/DEFRA/waste-permits-handshake-poc/pull/2","diff_url":"https://github.com/DEFRA/waste-permits-handshake-poc/pull/2.diff","patch_url":"https://github.com/DEFRA/waste-permits-handshake-poc/pull/2.patch","issue_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/2","number":2,"state":"closed","locked":false,"title":"`Prefer` was listed in the request headers x2","user":{"login":"Cruikshanks","id":1789650,"avatar_url":"https://avatars3.githubusercontent.com/u/1789650?v=3","gravatar_id":"","url":"https://api.github.com/users/Cruikshanks","html_url":"https://github.com/Cruikshanks","followers_url":"https://api.github.com/users/Cruikshanks/followers","following_url":"https://api.github.com/users/Cruikshanks/following{/other_user}","gists_url":"https://api.github.com/users/Cruikshanks/gists{/gist_id}","starred_url":"https://api.github.com/users/Cruikshanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cruikshanks/subscriptions","organizations_url":"https://api.github.com/users/Cruikshanks/orgs","repos_url":"https://api.github.com/users/Cruikshanks/repos","events_url":"https://api.github.com/users/Cruikshanks/events{/privacy}","received_events_url":"https://api.github.com/users/Cruikshanks/received_events","type":"User","site_admin":false},"body":"Resolves a bug where the header `Prefer` was in the request header of [contacts.js](contacts.js) twice. Instead it should have been there only once, but the values separated by a comma.\r\n\r\nThis change fixes that issue.","created_at":"2017-04-21T14:03:21Z","updated_at":"2017-04-21T14:03:29Z","closed_at":"2017-04-21T14:03:29Z","merged_at":"2017-04-21T14:03:29Z","merge_commit_sha":"794ef2f5f5b8c3ab7035641bdabc1631108dbb19","assignee":{"login":"Cruikshanks","id":1789650,"avatar_url":"https://avatars3.githubusercontent.com/u/1789650?v=3","gravatar_id":"","url":"https://api.github.com/users/Cruikshanks","html_url":"https://github.com/Cruikshanks","followers_url":"https://api.github.com/users/Cruikshanks/followers","following_url":"https://api.github.com/users/Cruikshanks/following{/other_user}","gists_url":"https://api.github.com/users/Cruikshanks/gists{/gist_id}","starred_url":"https://api.github.com/users/Cruikshanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cruikshanks/subscriptions","organizations_url":"https://api.github.com/users/Cruikshanks/orgs","repos_url":"https://api.github.com/users/Cruikshanks/repos","events_url":"https://api.github.com/users/Cruikshanks/events{/privacy}","received_events_url":"https://api.github.com/users/Cruikshanks/received_events","type":"User","site_admin":false},"assignees":[{"login":"Cruikshanks","id":1789650,"avatar_url":"https://avatars3.githubusercontent.com/u/1789650?v=3","gravatar_id":"","url":"https://api.github.com/users/Cruikshanks","html_url":"https://github.com/Cruikshanks","followers_url":"https://api.github.com/users/Cruikshanks/followers","following_url":"https://api.github.com/users/Cruikshanks/following{/other_user}","gists_url":"https://api.github.com/users/Cruikshanks/gists{/gist_id}","starred_url":"https://api.github.com/users/Cruikshanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cruikshanks/subscriptions","organizations_url":"https://api.github.com/users/Cruikshanks/orgs","repos_url":"https://api.github.com/users/Cruikshanks/repos","events_url":"https://api.github.com/users/Cruikshanks/events{/privacy}","received_events_url":"https://api.github.com/users/Cruikshanks/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2/commits","review_comments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2/comments","review_comment_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/2/comments","statuses_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/statuses/6b9fe3fdeaa0dcd34ce0271e5cb52e1b953b8c54","head":{"label":"DEFRA:fix/duplicate-header-in-request","ref":"fix/duplicate-header-in-request","sha":"6b9fe3fdeaa0dcd34ce0271e5cb52e1b953b8c54","user":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars1.githubusercontent.com/u/5528822?v=3","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"repo":{"id":88965415,"name":"waste-permits-handshake-poc","full_name":"DEFRA/waste-permits-handshake-poc","owner":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars1.githubusercontent.com/u/5528822?v=3","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DEFRA/waste-permits-handshake-poc","description":"A proof of concept project focused on looking at a Node.js app talking to a Microsoft Dynamics install","fork":false,"url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc","forks_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/forks","keys_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/teams","hooks_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/hooks","issue_events_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/events{/number}","events_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/events","assignees_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/assignees{/user}","branches_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/branches{/branch}","tags_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/tags","blobs_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/statuses/{sha}","languages_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/languages","stargazers_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/stargazers","contributors_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/contributors","subscribers_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/subscribers","subscription_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/subscription","commits_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/contents/{+path}","compare_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/merges","archive_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/downloads","issues_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues{/number}","pulls_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls{/number}","milestones_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/milestones{/number}","notifications_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/labels{/name}","releases_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/releases{/id}","deployments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/deployments","created_at":"2017-04-21T09:11:52Z","updated_at":"2017-04-21T09:12:10Z","pushed_at":"2017-04-21T14:03:29Z","git_url":"git://github.com/DEFRA/waste-permits-handshake-poc.git","ssh_url":"git@github.com:DEFRA/waste-permits-handshake-poc.git","clone_url":"https://github.com/DEFRA/waste-permits-handshake-poc.git","svn_url":"https://github.com/DEFRA/waste-permits-handshake-poc","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"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":"DEFRA:master","ref":"master","sha":"cabc93c74fed7ee063cc519a55e195b53012b81e","user":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars1.githubusercontent.com/u/5528822?v=3","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"repo":{"id":88965415,"name":"waste-permits-handshake-poc","full_name":"DEFRA/waste-permits-handshake-poc","owner":{"login":"DEFRA","id":5528822,"avatar_url":"https://avatars1.githubusercontent.com/u/5528822?v=3","gravatar_id":"","url":"https://api.github.com/users/DEFRA","html_url":"https://github.com/DEFRA","followers_url":"https://api.github.com/users/DEFRA/followers","following_url":"https://api.github.com/users/DEFRA/following{/other_user}","gists_url":"https://api.github.com/users/DEFRA/gists{/gist_id}","starred_url":"https://api.github.com/users/DEFRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEFRA/subscriptions","organizations_url":"https://api.github.com/users/DEFRA/orgs","repos_url":"https://api.github.com/users/DEFRA/repos","events_url":"https://api.github.com/users/DEFRA/events{/privacy}","received_events_url":"https://api.github.com/users/DEFRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DEFRA/waste-permits-handshake-poc","description":"A proof of concept project focused on looking at a Node.js app talking to a Microsoft Dynamics install","fork":false,"url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc","forks_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/forks","keys_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/teams","hooks_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/hooks","issue_events_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/events{/number}","events_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/events","assignees_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/assignees{/user}","branches_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/branches{/branch}","tags_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/tags","blobs_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/refs{/sha}","trees_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/statuses/{sha}","languages_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/languages","stargazers_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/stargazers","contributors_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/contributors","subscribers_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/subscribers","subscription_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/subscription","commits_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/commits{/sha}","git_commits_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/git/commits{/sha}","comments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/comments{/number}","issue_comment_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/comments{/number}","contents_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/contents/{+path}","compare_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/merges","archive_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/downloads","issues_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues{/number}","pulls_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls{/number}","milestones_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/milestones{/number}","notifications_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/labels{/name}","releases_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/releases{/id}","deployments_url":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/deployments","created_at":"2017-04-21T09:11:52Z","updated_at":"2017-04-21T09:12:10Z","pushed_at":"2017-04-21T14:03:29Z","git_url":"git://github.com/DEFRA/waste-permits-handshake-poc.git","ssh_url":"git@github.com:DEFRA/waste-permits-handshake-poc.git","clone_url":"https://github.com/DEFRA/waste-permits-handshake-poc.git","svn_url":"https://github.com/DEFRA/waste-permits-handshake-poc","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2"},"html":{"href":"https://github.com/DEFRA/waste-permits-handshake-poc/pull/2"},"issue":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/2"},"comments":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/DEFRA/waste-permits-handshake-poc/statuses/6b9fe3fdeaa0dcd34ce0271e5cb52e1b953b8c54"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Cruikshanks","id":1789650,"avatar_url":"https://avatars3.githubusercontent.com/u/1789650?v=3","gravatar_id":"","url":"https://api.github.com/users/Cruikshanks","html_url":"https://github.com/Cruikshanks","followers_url":"https://api.github.com/users/Cruikshanks/followers","following_url":"https://api.github.com/users/Cruikshanks/following{/other_user}","gists_url":"https://api.github.com/users/Cruikshanks/gists{/gist_id}","starred_url":"https://api.github.com/users/Cruikshanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cruikshanks/subscriptions","organizations_url":"https://api.github.com/users/Cruikshanks/orgs","repos_url":"https://api.github.com/users/Cruikshanks/repos","events_url":"https://api.github.com/users/Cruikshanks/events{/privacy}","received_events_url":"https://api.github.com/users/Cruikshanks/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"Cruikshanks"}}