{"action":"created","comment":{"url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/comments/81103657","pull_request_review_id":2107521,"id":81103657,"diff_hunk":"@@ -33,6 +33,15 @@ export function fetchPetition (id) {\n   };\n }\n \n+export function refreshPetition (id) {","path":"src/actions/PetitionActions.js","position":4,"original_position":4,"commit_id":"e99a10caa48875164f9f8c93030cb16d67b48028","original_commit_id":"e99a10caa48875164f9f8c93030cb16d67b48028","user":{"login":"sigmarstern","id":1721555,"avatar_url":"https://avatars.githubusercontent.com/u/1721555?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmarstern","html_url":"https://github.com/sigmarstern","followers_url":"https://api.github.com/users/sigmarstern/followers","following_url":"https://api.github.com/users/sigmarstern/following{/other_user}","gists_url":"https://api.github.com/users/sigmarstern/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmarstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmarstern/subscriptions","organizations_url":"https://api.github.com/users/sigmarstern/orgs","repos_url":"https://api.github.com/users/sigmarstern/repos","events_url":"https://api.github.com/users/sigmarstern/events{/privacy}","received_events_url":"https://api.github.com/users/sigmarstern/received_events","type":"User","site_admin":false},"body":"Should there also be a test for this function?","created_at":"2016-09-29T10:05:21Z","updated_at":"2016-09-29T10:05:21Z","html_url":"https://github.com/iris-dni/iris-frontend/pull/123#discussion_r81103657","pull_request_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/comments/81103657"},"html":{"href":"https://github.com/iris-dni/iris-frontend/pull/123#discussion_r81103657"},"pull_request":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123","id":87135747,"html_url":"https://github.com/iris-dni/iris-frontend/pull/123","diff_url":"https://github.com/iris-dni/iris-frontend/pull/123.diff","patch_url":"https://github.com/iris-dni/iris-frontend/pull/123.patch","issue_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/123","number":123,"state":"open","locked":false,"title":"[RFR] Support Button Logic","user":{"login":"mattberridge","id":447493,"avatar_url":"https://avatars.githubusercontent.com/u/447493?v=3","gravatar_id":"","url":"https://api.github.com/users/mattberridge","html_url":"https://github.com/mattberridge","followers_url":"https://api.github.com/users/mattberridge/followers","following_url":"https://api.github.com/users/mattberridge/following{/other_user}","gists_url":"https://api.github.com/users/mattberridge/gists{/gist_id}","starred_url":"https://api.github.com/users/mattberridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattberridge/subscriptions","organizations_url":"https://api.github.com/users/mattberridge/orgs","repos_url":"https://api.github.com/users/mattberridge/repos","events_url":"https://api.github.com/users/mattberridge/events{/privacy}","received_events_url":"https://api.github.com/users/mattberridge/received_events","type":"User","site_admin":false},"body":"Now we have a proper server-side check for whether the user has already voted (which wasn't working before) - and 3 button states.\r\n\r\n![screen shot 2016-09-28 at 16 52 45](https://cloud.githubusercontent.com/assets/447493/18918607/a91117c0-859b-11e6-8a5b-2c8fcce13af1.png)\r\n\r\n![screen shot 2016-09-28 at 16 52 21](https://cloud.githubusercontent.com/assets/447493/18918606/a90f8cb6-859b-11e6-97e5-c3bc1097b0d0.png)\r\n\r\n![screen shot 2016-09-28 at 16 52 09](https://cloud.githubusercontent.com/assets/447493/18918608/a9318136-859b-11e6-971f-4e312d95cdd7.png)\r\n","created_at":"2016-09-28T14:50:37Z","updated_at":"2016-09-29T10:05:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eec82e3706d95c01c0ee875e391063600a7cba53","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123/commits","review_comments_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123/comments","review_comment_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/123/comments","statuses_url":"https://api.github.com/repos/iris-dni/iris-frontend/statuses/e99a10caa48875164f9f8c93030cb16d67b48028","head":{"label":"iris-dni:feature/support-button-logic","ref":"feature/support-button-logic","sha":"e99a10caa48875164f9f8c93030cb16d67b48028","user":{"login":"iris-dni","id":20228271,"avatar_url":"https://avatars.githubusercontent.com/u/20228271?v=3","gravatar_id":"","url":"https://api.github.com/users/iris-dni","html_url":"https://github.com/iris-dni","followers_url":"https://api.github.com/users/iris-dni/followers","following_url":"https://api.github.com/users/iris-dni/following{/other_user}","gists_url":"https://api.github.com/users/iris-dni/gists{/gist_id}","starred_url":"https://api.github.com/users/iris-dni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iris-dni/subscriptions","organizations_url":"https://api.github.com/users/iris-dni/orgs","repos_url":"https://api.github.com/users/iris-dni/repos","events_url":"https://api.github.com/users/iris-dni/events{/privacy}","received_events_url":"https://api.github.com/users/iris-dni/received_events","type":"Organization","site_admin":false},"repo":{"id":63142341,"name":"iris-frontend","full_name":"iris-dni/iris-frontend","owner":{"login":"iris-dni","id":20228271,"avatar_url":"https://avatars.githubusercontent.com/u/20228271?v=3","gravatar_id":"","url":"https://api.github.com/users/iris-dni","html_url":"https://github.com/iris-dni","followers_url":"https://api.github.com/users/iris-dni/followers","following_url":"https://api.github.com/users/iris-dni/following{/other_user}","gists_url":"https://api.github.com/users/iris-dni/gists{/gist_id}","starred_url":"https://api.github.com/users/iris-dni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iris-dni/subscriptions","organizations_url":"https://api.github.com/users/iris-dni/orgs","repos_url":"https://api.github.com/users/iris-dni/repos","events_url":"https://api.github.com/users/iris-dni/events{/privacy}","received_events_url":"https://api.github.com/users/iris-dni/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iris-dni/iris-frontend","description":"The IRIS Frontend","fork":false,"url":"https://api.github.com/repos/iris-dni/iris-frontend","forks_url":"https://api.github.com/repos/iris-dni/iris-frontend/forks","keys_url":"https://api.github.com/repos/iris-dni/iris-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iris-dni/iris-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iris-dni/iris-frontend/teams","hooks_url":"https://api.github.com/repos/iris-dni/iris-frontend/hooks","issue_events_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/iris-dni/iris-frontend/events","assignees_url":"https://api.github.com/repos/iris-dni/iris-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/iris-dni/iris-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/iris-dni/iris-frontend/tags","blobs_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iris-dni/iris-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/iris-dni/iris-frontend/languages","stargazers_url":"https://api.github.com/repos/iris-dni/iris-frontend/stargazers","contributors_url":"https://api.github.com/repos/iris-dni/iris-frontend/contributors","subscribers_url":"https://api.github.com/repos/iris-dni/iris-frontend/subscribers","subscription_url":"https://api.github.com/repos/iris-dni/iris-frontend/subscription","commits_url":"https://api.github.com/repos/iris-dni/iris-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/iris-dni/iris-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/iris-dni/iris-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/iris-dni/iris-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iris-dni/iris-frontend/merges","archive_url":"https://api.github.com/repos/iris-dni/iris-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iris-dni/iris-frontend/downloads","issues_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/iris-dni/iris-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/iris-dni/iris-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iris-dni/iris-frontend/labels{/name}","releases_url":"https://api.github.com/repos/iris-dni/iris-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/iris-dni/iris-frontend/deployments","created_at":"2016-07-12T08:53:04Z","updated_at":"2016-07-13T14:32:31Z","pushed_at":"2016-09-29T08:28:37Z","git_url":"git://github.com/iris-dni/iris-frontend.git","ssh_url":"git@github.com:iris-dni/iris-frontend.git","clone_url":"https://github.com/iris-dni/iris-frontend.git","svn_url":"https://github.com/iris-dni/iris-frontend","homepage":null,"size":1003,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"develop"}},"base":{"label":"iris-dni:develop","ref":"develop","sha":"89da53d30a4466b9e5594013749ea1fa1cc59ff1","user":{"login":"iris-dni","id":20228271,"avatar_url":"https://avatars.githubusercontent.com/u/20228271?v=3","gravatar_id":"","url":"https://api.github.com/users/iris-dni","html_url":"https://github.com/iris-dni","followers_url":"https://api.github.com/users/iris-dni/followers","following_url":"https://api.github.com/users/iris-dni/following{/other_user}","gists_url":"https://api.github.com/users/iris-dni/gists{/gist_id}","starred_url":"https://api.github.com/users/iris-dni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iris-dni/subscriptions","organizations_url":"https://api.github.com/users/iris-dni/orgs","repos_url":"https://api.github.com/users/iris-dni/repos","events_url":"https://api.github.com/users/iris-dni/events{/privacy}","received_events_url":"https://api.github.com/users/iris-dni/received_events","type":"Organization","site_admin":false},"repo":{"id":63142341,"name":"iris-frontend","full_name":"iris-dni/iris-frontend","owner":{"login":"iris-dni","id":20228271,"avatar_url":"https://avatars.githubusercontent.com/u/20228271?v=3","gravatar_id":"","url":"https://api.github.com/users/iris-dni","html_url":"https://github.com/iris-dni","followers_url":"https://api.github.com/users/iris-dni/followers","following_url":"https://api.github.com/users/iris-dni/following{/other_user}","gists_url":"https://api.github.com/users/iris-dni/gists{/gist_id}","starred_url":"https://api.github.com/users/iris-dni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iris-dni/subscriptions","organizations_url":"https://api.github.com/users/iris-dni/orgs","repos_url":"https://api.github.com/users/iris-dni/repos","events_url":"https://api.github.com/users/iris-dni/events{/privacy}","received_events_url":"https://api.github.com/users/iris-dni/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iris-dni/iris-frontend","description":"The IRIS Frontend","fork":false,"url":"https://api.github.com/repos/iris-dni/iris-frontend","forks_url":"https://api.github.com/repos/iris-dni/iris-frontend/forks","keys_url":"https://api.github.com/repos/iris-dni/iris-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iris-dni/iris-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iris-dni/iris-frontend/teams","hooks_url":"https://api.github.com/repos/iris-dni/iris-frontend/hooks","issue_events_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/iris-dni/iris-frontend/events","assignees_url":"https://api.github.com/repos/iris-dni/iris-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/iris-dni/iris-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/iris-dni/iris-frontend/tags","blobs_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iris-dni/iris-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/iris-dni/iris-frontend/languages","stargazers_url":"https://api.github.com/repos/iris-dni/iris-frontend/stargazers","contributors_url":"https://api.github.com/repos/iris-dni/iris-frontend/contributors","subscribers_url":"https://api.github.com/repos/iris-dni/iris-frontend/subscribers","subscription_url":"https://api.github.com/repos/iris-dni/iris-frontend/subscription","commits_url":"https://api.github.com/repos/iris-dni/iris-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/iris-dni/iris-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/iris-dni/iris-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/iris-dni/iris-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/iris-dni/iris-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iris-dni/iris-frontend/merges","archive_url":"https://api.github.com/repos/iris-dni/iris-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iris-dni/iris-frontend/downloads","issues_url":"https://api.github.com/repos/iris-dni/iris-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/iris-dni/iris-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/iris-dni/iris-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/iris-dni/iris-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iris-dni/iris-frontend/labels{/name}","releases_url":"https://api.github.com/repos/iris-dni/iris-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/iris-dni/iris-frontend/deployments","created_at":"2016-07-12T08:53:04Z","updated_at":"2016-07-13T14:32:31Z","pushed_at":"2016-09-29T08:28:37Z","git_url":"git://github.com/iris-dni/iris-frontend.git","ssh_url":"git@github.com:iris-dni/iris-frontend.git","clone_url":"https://github.com/iris-dni/iris-frontend.git","svn_url":"https://github.com/iris-dni/iris-frontend","homepage":null,"size":1003,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123"},"html":{"href":"https://github.com/iris-dni/iris-frontend/pull/123"},"issue":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/issues/123"},"comments":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/iris-dni/iris-frontend/statuses/e99a10caa48875164f9f8c93030cb16d67b48028"}}}}
{"actor":{"display_login":"sigmarstern"}}