{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/comments/96387890","pull_request_review_id":16966617,"id":96387890,"diff_hunk":"@@ -60,7 +61,6 @@ class ClaimDecision {\n     this.claimExpenseResponses.forEach(function (expense) {\n       FieldValidator(expense.status, 'claim-expense', errors)\n         .isRequired()\n-","path":"app/services/domain/claim-decision.js","position":12,"original_position":12,"commit_id":"545cb5644b52dfef545af9b430fd1e449c20697d","original_commit_id":"545cb5644b52dfef545af9b430fd1e449c20697d","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":"leave this blank line in","created_at":"2017-01-17T11:02:06Z","updated_at":"2017-01-17T11:02:06Z","html_url":"https://github.com/ministryofjustice/apvs-internal-web/pull/208#discussion_r96387890","pull_request_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/comments/96387890"},"html":{"href":"https://github.com/ministryofjustice/apvs-internal-web/pull/208#discussion_r96387890"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208","id":101718651,"html_url":"https://github.com/ministryofjustice/apvs-internal-web/pull/208","diff_url":"https://github.com/ministryofjustice/apvs-internal-web/pull/208.diff","patch_url":"https://github.com/ministryofjustice/apvs-internal-web/pull/208.patch","issue_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/208","number":208,"state":"open","locked":false,"title":"Chore/Able to approve claim with all claim expenses rejected","user":{"login":"hvekriya","id":11596078,"avatar_url":"https://avatars.githubusercontent.com/u/11596078?v=3","gravatar_id":"","url":"https://api.github.com/users/hvekriya","html_url":"https://github.com/hvekriya","followers_url":"https://api.github.com/users/hvekriya/followers","following_url":"https://api.github.com/users/hvekriya/following{/other_user}","gists_url":"https://api.github.com/users/hvekriya/gists{/gist_id}","starred_url":"https://api.github.com/users/hvekriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvekriya/subscriptions","organizations_url":"https://api.github.com/users/hvekriya/orgs","repos_url":"https://api.github.com/users/hvekriya/repos","events_url":"https://api.github.com/users/hvekriya/events{/privacy}","received_events_url":"https://api.github.com/users/hvekriya/received_events","type":"User","site_admin":false},"body":"Able to approve claim with all claim expenses rejected #189\r\n- Added validation error to validate all expense being rejected\r\n- Stop caseworkers from approving claim while all expenses are rejected\r\n\r\n## Checklist\r\n\r\n- [ ] Unit tests\r\n- [ ] Code coverage checked\r\n- [ ] Coding standards\r\n- [ ] Error Handling\r\n- [ ] Security/performance considered?\r\n- [ ] Deployment changes considered?\r\n- [ ] README updated\r\n","created_at":"2017-01-16T16:13:34Z","updated_at":"2017-01-17T11:02:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a32e93b8207a3aa2d7aaa671a32815e0af21fd53","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/208/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/statuses/545cb5644b52dfef545af9b430fd1e449c20697d","head":{"label":"ministryofjustice:chore/able-to-approve-claim-with-all-expenses-rejected","ref":"chore/able-to-approve-claim-with-all-expenses-rejected","sha":"545cb5644b52dfef545af9b430fd1e449c20697d","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":70428236,"name":"apvs-internal-web","full_name":"ministryofjustice/apvs-internal-web","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-internal-web","description":null,"fork":false,"url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web","forks_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/forks","keys_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/events","assignees_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/merges","archive_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/deployments","created_at":"2016-10-09T20:22:22Z","updated_at":"2016-10-24T12:35:23Z","pushed_at":"2017-01-17T10:43:15Z","git_url":"git://github.com/ministryofjustice/apvs-internal-web.git","ssh_url":"git@github.com:ministryofjustice/apvs-internal-web.git","clone_url":"https://github.com/ministryofjustice/apvs-internal-web.git","svn_url":"https://github.com/ministryofjustice/apvs-internal-web","homepage":null,"size":693,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":1,"default_branch":"develop"}},"base":{"label":"ministryofjustice:develop","ref":"develop","sha":"a27bd0a22b233c8544f2c7555acfa4c078c9dbf9","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":70428236,"name":"apvs-internal-web","full_name":"ministryofjustice/apvs-internal-web","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-internal-web","description":null,"fork":false,"url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web","forks_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/forks","keys_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/events","assignees_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/merges","archive_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/deployments","created_at":"2016-10-09T20:22:22Z","updated_at":"2016-10-24T12:35:23Z","pushed_at":"2017-01-17T10:43:15Z","git_url":"git://github.com/ministryofjustice/apvs-internal-web.git","ssh_url":"git@github.com:ministryofjustice/apvs-internal-web.git","clone_url":"https://github.com/ministryofjustice/apvs-internal-web.git","svn_url":"https://github.com/ministryofjustice/apvs-internal-web","homepage":null,"size":693,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208"},"html":{"href":"https://github.com/ministryofjustice/apvs-internal-web/pull/208"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/208"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/apvs-internal-web/statuses/545cb5644b52dfef545af9b430fd1e449c20697d"}}}}
{"actor":{"display_login":"pwright08"}}