{"action":"created","comment":{"url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments/176111170","pull_request_review_id":105756373,"id":176111170,"diff_hunk":"@@ -9,6 +9,16 @@ module.exports = {\n       open: 'open',\n     },\n   },\n+  businessHours: {\n+    end: {\n+      hour: 18,\n+      minute: 0,\n+    },\n+    start: {\n+      hour: 8,\n+      minute: 0,\n+    },\n+  },","path":"app/lib/constants.js","position":null,"original_position":13,"commit_id":"30e9bc3cff374117c7199aa6327a3e07fc87d937","original_commit_id":"4cc88469a9e394ffd5c16d05b335be42b7657506","user":{"login":"st3v3nhunt","id":639706,"avatar_url":"https://avatars0.githubusercontent.com/u/639706?v=4","gravatar_id":"","url":"https://api.github.com/users/st3v3nhunt","html_url":"https://github.com/st3v3nhunt","followers_url":"https://api.github.com/users/st3v3nhunt/followers","following_url":"https://api.github.com/users/st3v3nhunt/following{/other_user}","gists_url":"https://api.github.com/users/st3v3nhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/st3v3nhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st3v3nhunt/subscriptions","organizations_url":"https://api.github.com/users/st3v3nhunt/orgs","repos_url":"https://api.github.com/users/st3v3nhunt/repos","events_url":"https://api.github.com/users/st3v3nhunt/events{/privacy}","received_events_url":"https://api.github.com/users/st3v3nhunt/received_events","type":"User","site_admin":false},"body":"I did consider this but didn't do. I've added it in now.","created_at":"2018-03-21T14:53:11Z","updated_at":"2018-03-21T14:53:11Z","html_url":"https://github.com/nhsuk/connecting-to-services/pull/483#discussion_r176111170","pull_request_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments/176111170"},"html":{"href":"https://github.com/nhsuk/connecting-to-services/pull/483#discussion_r176111170"},"pull_request":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483"}},"in_reply_to_id":176092298},"pull_request":{"url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483","id":176467292,"html_url":"https://github.com/nhsuk/connecting-to-services/pull/483","diff_url":"https://github.com/nhsuk/connecting-to-services/pull/483.diff","patch_url":"https://github.com/nhsuk/connecting-to-services/pull/483.patch","issue_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/483","number":483,"state":"open","locked":false,"title":"Feature/switch results","user":{"login":"st3v3nhunt","id":639706,"avatar_url":"https://avatars0.githubusercontent.com/u/639706?v=4","gravatar_id":"","url":"https://api.github.com/users/st3v3nhunt","html_url":"https://github.com/st3v3nhunt","followers_url":"https://api.github.com/users/st3v3nhunt/followers","following_url":"https://api.github.com/users/st3v3nhunt/following{/other_user}","gists_url":"https://api.github.com/users/st3v3nhunt/gists{/gist_id}","starred_url":"https://api.github.com/users/st3v3nhunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/st3v3nhunt/subscriptions","organizations_url":"https://api.github.com/users/st3v3nhunt/orgs","repos_url":"https://api.github.com/users/st3v3nhunt/repos","events_url":"https://api.github.com/users/st3v3nhunt/events{/privacy}","received_events_url":"https://api.github.com/users/st3v3nhunt/received_events","type":"User","site_admin":false},"body":"Show open results by default when request is made at point deemed out of business hours i.e. at the weekend, before 08:00, after 18:00 or on a bank holiday.\r\n\r\nRefactoring around dateUtils and a bunch of unit tests are also included.","created_at":"2018-03-21T12:57:26Z","updated_at":"2018-03-21T14:53:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c29318c83841975e5c4b53dc77615bf2af5c714","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483/commits","review_comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483/comments","review_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/483/comments","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/30e9bc3cff374117c7199aa6327a3e07fc87d937","head":{"label":"nhsuk:feature/switch-results","ref":"feature/switch-results","sha":"30e9bc3cff374117c7199aa6327a3e07fc87d937","user":{"login":"nhsuk","id":18658529,"avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":67600520,"name":"connecting-to-services","full_name":"nhsuk/connecting-to-services","owner":{"login":"nhsuk","id":18658529,"avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nhsuk/connecting-to-services","description":"Find a pharmacy","fork":false,"url":"https://api.github.com/repos/nhsuk/connecting-to-services","forks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/forks","keys_url":"https://api.github.com/repos/nhsuk/connecting-to-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhsuk/connecting-to-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhsuk/connecting-to-services/teams","hooks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/hooks","issue_events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/events{/number}","events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/events","assignees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/assignees{/user}","branches_url":"https://api.github.com/repos/nhsuk/connecting-to-services/branches{/branch}","tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/tags","blobs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/{sha}","languages_url":"https://api.github.com/repos/nhsuk/connecting-to-services/languages","stargazers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/stargazers","contributors_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contributors","subscribers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscribers","subscription_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscription","commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contents/{+path}","compare_url":"https://api.github.com/repos/nhsuk/connecting-to-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhsuk/connecting-to-services/merges","archive_url":"https://api.github.com/repos/nhsuk/connecting-to-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhsuk/connecting-to-services/downloads","issues_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues{/number}","pulls_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls{/number}","milestones_url":"https://api.github.com/repos/nhsuk/connecting-to-services/milestones{/number}","notifications_url":"https://api.github.com/repos/nhsuk/connecting-to-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhsuk/connecting-to-services/labels{/name}","releases_url":"https://api.github.com/repos/nhsuk/connecting-to-services/releases{/id}","deployments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/deployments","created_at":"2016-09-07T11:27:48Z","updated_at":"2018-03-16T12:06:12Z","pushed_at":"2018-03-21T14:51:55Z","git_url":"git://github.com/nhsuk/connecting-to-services.git","ssh_url":"git@github.com:nhsuk/connecting-to-services.git","clone_url":"https://github.com/nhsuk/connecting-to-services.git","svn_url":"https://github.com/nhsuk/connecting-to-services","homepage":"https://beta.nhs.uk/find-a-pharmacy","size":9283,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"nhsuk:master","ref":"master","sha":"a7bd4feb1c2fe2f23d4c13f2433eacbee0004723","user":{"login":"nhsuk","id":18658529,"avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"repo":{"id":67600520,"name":"connecting-to-services","full_name":"nhsuk/connecting-to-services","owner":{"login":"nhsuk","id":18658529,"avatar_url":"https://avatars2.githubusercontent.com/u/18658529?v=4","gravatar_id":"","url":"https://api.github.com/users/nhsuk","html_url":"https://github.com/nhsuk","followers_url":"https://api.github.com/users/nhsuk/followers","following_url":"https://api.github.com/users/nhsuk/following{/other_user}","gists_url":"https://api.github.com/users/nhsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/nhsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhsuk/subscriptions","organizations_url":"https://api.github.com/users/nhsuk/orgs","repos_url":"https://api.github.com/users/nhsuk/repos","events_url":"https://api.github.com/users/nhsuk/events{/privacy}","received_events_url":"https://api.github.com/users/nhsuk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nhsuk/connecting-to-services","description":"Find a pharmacy","fork":false,"url":"https://api.github.com/repos/nhsuk/connecting-to-services","forks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/forks","keys_url":"https://api.github.com/repos/nhsuk/connecting-to-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nhsuk/connecting-to-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nhsuk/connecting-to-services/teams","hooks_url":"https://api.github.com/repos/nhsuk/connecting-to-services/hooks","issue_events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/events{/number}","events_url":"https://api.github.com/repos/nhsuk/connecting-to-services/events","assignees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/assignees{/user}","branches_url":"https://api.github.com/repos/nhsuk/connecting-to-services/branches{/branch}","tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/tags","blobs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/{sha}","languages_url":"https://api.github.com/repos/nhsuk/connecting-to-services/languages","stargazers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/stargazers","contributors_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contributors","subscribers_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscribers","subscription_url":"https://api.github.com/repos/nhsuk/connecting-to-services/subscription","commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/nhsuk/connecting-to-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/nhsuk/connecting-to-services/contents/{+path}","compare_url":"https://api.github.com/repos/nhsuk/connecting-to-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nhsuk/connecting-to-services/merges","archive_url":"https://api.github.com/repos/nhsuk/connecting-to-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nhsuk/connecting-to-services/downloads","issues_url":"https://api.github.com/repos/nhsuk/connecting-to-services/issues{/number}","pulls_url":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls{/number}","milestones_url":"https://api.github.com/repos/nhsuk/connecting-to-services/milestones{/number}","notifications_url":"https://api.github.com/repos/nhsuk/connecting-to-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nhsuk/connecting-to-services/labels{/name}","releases_url":"https://api.github.com/repos/nhsuk/connecting-to-services/releases{/id}","deployments_url":"https://api.github.com/repos/nhsuk/connecting-to-services/deployments","created_at":"2016-09-07T11:27:48Z","updated_at":"2018-03-16T12:06:12Z","pushed_at":"2018-03-21T14:51:55Z","git_url":"git://github.com/nhsuk/connecting-to-services.git","ssh_url":"git@github.com:nhsuk/connecting-to-services.git","clone_url":"https://github.com/nhsuk/connecting-to-services.git","svn_url":"https://github.com/nhsuk/connecting-to-services","homepage":"https://beta.nhs.uk/find-a-pharmacy","size":9283,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483"},"html":{"href":"https://github.com/nhsuk/connecting-to-services/pull/483"},"issue":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/483"},"comments":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/issues/483/comments"},"review_comments":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483/comments"},"review_comment":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/pulls/483/commits"},"statuses":{"href":"https://api.github.com/repos/nhsuk/connecting-to-services/statuses/30e9bc3cff374117c7199aa6327a3e07fc87d937"}},"author_association":"OWNER"}}
{"actor":{"display_login":"st3v3nhunt"}}