{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/comments/76946040","id":76946040,"diff_hunk":"@@ -53,6 +53,24 @@ router.post('/about-you', function (request, response) {\n       response.status(500).render('error', { message: error.message, error: error })\n     }\n   })\n+\n+  // Set statuses for claimant application.\n+  var statuses = {\n+    applicationStatus: 'PENDING',\n+    incomeVerificationStatus: 'PENDING',\n+    relationshipVerificationStatus: 'PENDING'","path":"alpha/external-web/app/routes/about-you.js","position":9,"original_position":9,"commit_id":"1a25d665c0394b5e95c17583befae8bc9d767d1b","original_commit_id":"1a25d665c0394b5e95c17583befae8bc9d767d1b","user":{"login":"stevenalexander","id":1783543,"avatar_url":"https://avatars.githubusercontent.com/u/1783543?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenalexander","html_url":"https://github.com/stevenalexander","followers_url":"https://api.github.com/users/stevenalexander/followers","following_url":"https://api.github.com/users/stevenalexander/following{/other_user}","gists_url":"https://api.github.com/users/stevenalexander/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenalexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenalexander/subscriptions","organizations_url":"https://api.github.com/users/stevenalexander/orgs","repos_url":"https://api.github.com/users/stevenalexander/repos","events_url":"https://api.github.com/users/stevenalexander/events{/privacy}","received_events_url":"https://api.github.com/users/stevenalexander/received_events","type":"User","site_admin":false},"body":"don't repeat string values, makes multiple places to change, put a var at top of route with 'PENDING'","created_at":"2016-08-31T08:37:38Z","updated_at":"2016-08-31T08:37:38Z","html_url":"https://github.com/ministryofjustice/apvs/pull/22#discussion_r76946040","pull_request_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/comments/76946040"},"html":{"href":"https://github.com/ministryofjustice/apvs/pull/22#discussion_r76946040"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22","id":83407646,"html_url":"https://github.com/ministryofjustice/apvs/pull/22","diff_url":"https://github.com/ministryofjustice/apvs/pull/22.diff","patch_url":"https://github.com/ministryofjustice/apvs/pull/22.patch","issue_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/22","number":22,"state":"open","locked":false,"title":"Apvs 049/fix routing - Fix bugs in application form routing","user":{"login":"pwright08","id":9826034,"avatar_url":"https://avatars.githubusercontent.com/u/9826034?v=3","gravatar_id":"","url":"https://api.github.com/users/pwright08","html_url":"https://github.com/pwright08","followers_url":"https://api.github.com/users/pwright08/followers","following_url":"https://api.github.com/users/pwright08/following{/other_user}","gists_url":"https://api.github.com/users/pwright08/gists{/gist_id}","starred_url":"https://api.github.com/users/pwright08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwright08/subscriptions","organizations_url":"https://api.github.com/users/pwright08/orgs","repos_url":"https://api.github.com/users/pwright08/repos","events_url":"https://api.github.com/users/pwright08/events{/privacy}","received_events_url":"https://api.github.com/users/pwright08/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-31T08:19:14Z","updated_at":"2016-08-31T08:37:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b48fd09681f856ff41af99ec356ddaac778ad368","assignee":{"login":"tswann","id":509115,"avatar_url":"https://avatars.githubusercontent.com/u/509115?v=3","gravatar_id":"","url":"https://api.github.com/users/tswann","html_url":"https://github.com/tswann","followers_url":"https://api.github.com/users/tswann/followers","following_url":"https://api.github.com/users/tswann/following{/other_user}","gists_url":"https://api.github.com/users/tswann/gists{/gist_id}","starred_url":"https://api.github.com/users/tswann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tswann/subscriptions","organizations_url":"https://api.github.com/users/tswann/orgs","repos_url":"https://api.github.com/users/tswann/repos","events_url":"https://api.github.com/users/tswann/events{/privacy}","received_events_url":"https://api.github.com/users/tswann/received_events","type":"User","site_admin":false},"assignees":[{"login":"tswann","id":509115,"avatar_url":"https://avatars.githubusercontent.com/u/509115?v=3","gravatar_id":"","url":"https://api.github.com/users/tswann","html_url":"https://github.com/tswann","followers_url":"https://api.github.com/users/tswann/followers","following_url":"https://api.github.com/users/tswann/following{/other_user}","gists_url":"https://api.github.com/users/tswann/gists{/gist_id}","starred_url":"https://api.github.com/users/tswann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tswann/subscriptions","organizations_url":"https://api.github.com/users/tswann/orgs","repos_url":"https://api.github.com/users/tswann/repos","events_url":"https://api.github.com/users/tswann/events{/privacy}","received_events_url":"https://api.github.com/users/tswann/received_events","type":"User","site_admin":false},{"login":"stevenalexander","id":1783543,"avatar_url":"https://avatars.githubusercontent.com/u/1783543?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenalexander","html_url":"https://github.com/stevenalexander","followers_url":"https://api.github.com/users/stevenalexander/followers","following_url":"https://api.github.com/users/stevenalexander/following{/other_user}","gists_url":"https://api.github.com/users/stevenalexander/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenalexander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenalexander/subscriptions","organizations_url":"https://api.github.com/users/stevenalexander/orgs","repos_url":"https://api.github.com/users/stevenalexander/repos","events_url":"https://api.github.com/users/stevenalexander/events{/privacy}","received_events_url":"https://api.github.com/users/stevenalexander/received_events","type":"User","site_admin":false},{"login":"tmrowe","id":12531502,"avatar_url":"https://avatars.githubusercontent.com/u/12531502?v=3","gravatar_id":"","url":"https://api.github.com/users/tmrowe","html_url":"https://github.com/tmrowe","followers_url":"https://api.github.com/users/tmrowe/followers","following_url":"https://api.github.com/users/tmrowe/following{/other_user}","gists_url":"https://api.github.com/users/tmrowe/gists{/gist_id}","starred_url":"https://api.github.com/users/tmrowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmrowe/subscriptions","organizations_url":"https://api.github.com/users/tmrowe/orgs","repos_url":"https://api.github.com/users/tmrowe/repos","events_url":"https://api.github.com/users/tmrowe/events{/privacy}","received_events_url":"https://api.github.com/users/tmrowe/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/22/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs/statuses/1a25d665c0394b5e95c17583befae8bc9d767d1b","head":{"label":"ministryofjustice:apvs-049/fix-routing","ref":"apvs-049/fix-routing","sha":"1a25d665c0394b5e95c17583befae8bc9d767d1b","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":65722967,"name":"apvs","full_name":"ministryofjustice/apvs","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/apvs","description":"Assisted Prison Visits Scheme","fork":false,"url":"https://api.github.com/repos/ministryofjustice/apvs","forks_url":"https://api.github.com/repos/ministryofjustice/apvs/forks","keys_url":"https://api.github.com/repos/ministryofjustice/apvs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/apvs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/apvs/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/apvs/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/apvs/events","assignees_url":"https://api.github.com/repos/ministryofjustice/apvs/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/apvs/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/apvs/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/apvs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/apvs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/apvs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/apvs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/apvs/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/apvs/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/apvs/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/apvs/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/apvs/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/apvs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/apvs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/apvs/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/apvs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/apvs/merges","archive_url":"https://api.github.com/repos/ministryofjustice/apvs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/apvs/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/apvs/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/apvs/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/apvs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/apvs/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/apvs/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/apvs/deployments","created_at":"2016-08-15T10:03:09Z","updated_at":"2016-08-25T14:55:29Z","pushed_at":"2016-08-31T08:20:26Z","git_url":"git://github.com/ministryofjustice/apvs.git","ssh_url":"git@github.com:ministryofjustice/apvs.git","clone_url":"https://github.com/ministryofjustice/apvs.git","svn_url":"https://github.com/ministryofjustice/apvs","homepage":null,"size":567,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"develop"}},"base":{"label":"ministryofjustice:develop","ref":"develop","sha":"5decde493cd0f2fbe09475ed8e213c9cb3d826e5","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":65722967,"name":"apvs","full_name":"ministryofjustice/apvs","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/apvs","description":"Assisted Prison Visits Scheme","fork":false,"url":"https://api.github.com/repos/ministryofjustice/apvs","forks_url":"https://api.github.com/repos/ministryofjustice/apvs/forks","keys_url":"https://api.github.com/repos/ministryofjustice/apvs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/apvs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/apvs/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/apvs/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/apvs/events","assignees_url":"https://api.github.com/repos/ministryofjustice/apvs/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/apvs/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/apvs/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/apvs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/apvs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/apvs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/apvs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/apvs/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/apvs/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/apvs/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/apvs/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/apvs/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/apvs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/apvs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/apvs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/apvs/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/apvs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/apvs/merges","archive_url":"https://api.github.com/repos/ministryofjustice/apvs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/apvs/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/apvs/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/apvs/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/apvs/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/apvs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/apvs/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/apvs/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/apvs/deployments","created_at":"2016-08-15T10:03:09Z","updated_at":"2016-08-25T14:55:29Z","pushed_at":"2016-08-31T08:20:26Z","git_url":"git://github.com/ministryofjustice/apvs.git","ssh_url":"git@github.com:ministryofjustice/apvs.git","clone_url":"https://github.com/ministryofjustice/apvs.git","svn_url":"https://github.com/ministryofjustice/apvs","homepage":null,"size":567,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22"},"html":{"href":"https://github.com/ministryofjustice/apvs/pull/22"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/apvs/issues/22"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/apvs/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/apvs/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/apvs/statuses/1a25d665c0394b5e95c17583befae8bc9d767d1b"}}}}
{"actor":{"display_login":"stevenalexander"}}