{"action":"created","comment":{"url":"https://api.github.com/repos/coralproject/cay/pulls/comments/71421756","id":71421756,"diff_hunk":"@@ -356,7 +356,7 @@ export const fetchSubmissions = (formId, page = 0) => {\n     const skip = page * 10;\n     return fetch(`${app.pillarHost}/api/form_submissions/${formId}?skip=${skip}&limit=10`)\n       .then(res => res.json())\n-      .then(submissions => dispatch(submissionsFetched(submissions)))\n+      .then(data => dispatch(submissionsFetched(data.submissions)))","path":"src/forms/FormActions.js","position":5,"original_position":5,"commit_id":"3a7ad83c4791bf061e8a31dc2b1d859c161ff564","original_commit_id":"3a7ad83c4791bf061e8a31dc2b1d859c161ff564","user":{"login":"riley","id":282503,"avatar_url":"https://avatars.githubusercontent.com/u/282503?v=3","gravatar_id":"","url":"https://api.github.com/users/riley","html_url":"https://github.com/riley","followers_url":"https://api.github.com/users/riley/followers","following_url":"https://api.github.com/users/riley/following{/other_user}","gists_url":"https://api.github.com/users/riley/gists{/gist_id}","starred_url":"https://api.github.com/users/riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riley/subscriptions","organizations_url":"https://api.github.com/users/riley/orgs","repos_url":"https://api.github.com/users/riley/repos","events_url":"https://api.github.com/users/riley/events{/privacy}","received_events_url":"https://api.github.com/users/riley/received_events","type":"User","site_admin":false},"body":"madness","created_at":"2016-07-19T20:57:00Z","updated_at":"2016-07-19T20:57:00Z","html_url":"https://github.com/coralproject/cay/pull/494#discussion_r71421756","pull_request_url":"https://api.github.com/repos/coralproject/cay/pulls/494","_links":{"self":{"href":"https://api.github.com/repos/coralproject/cay/pulls/comments/71421756"},"html":{"href":"https://github.com/coralproject/cay/pull/494#discussion_r71421756"},"pull_request":{"href":"https://api.github.com/repos/coralproject/cay/pulls/494"}}},"pull_request":{"url":"https://api.github.com/repos/coralproject/cay/pulls/494","id":78034609,"html_url":"https://github.com/coralproject/cay/pull/494","diff_url":"https://github.com/coralproject/cay/pull/494.diff","patch_url":"https://github.com/coralproject/cay/pull/494.patch","issue_url":"https://api.github.com/repos/coralproject/cay/issues/494","number":494,"state":"open","locked":false,"title":"Using the submissions fields on response","user":{"login":"impronunciable","id":165799,"avatar_url":"https://avatars.githubusercontent.com/u/165799?v=3","gravatar_id":"","url":"https://api.github.com/users/impronunciable","html_url":"https://github.com/impronunciable","followers_url":"https://api.github.com/users/impronunciable/followers","following_url":"https://api.github.com/users/impronunciable/following{/other_user}","gists_url":"https://api.github.com/users/impronunciable/gists{/gist_id}","starred_url":"https://api.github.com/users/impronunciable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/impronunciable/subscriptions","organizations_url":"https://api.github.com/users/impronunciable/orgs","repos_url":"https://api.github.com/users/impronunciable/repos","events_url":"https://api.github.com/users/impronunciable/events{/privacy}","received_events_url":"https://api.github.com/users/impronunciable/received_events","type":"User","site_admin":false},"body":"* DO NOT MERGE THIS PR UNTIL THE SUBMISSIONS LIST IS BROKEN FOR YOU :P *\r\n\r\n## What does this PR do?\r\n\r\nThe submission list endpoint will now return an object with counts and submissions. We should do this change when staging is done with the deployiment. \r\n\r\n## How do I test this PR?\r\n\r\n- Go to the submission list.\r\n- Inspect the submission list. It should return an object with a submissions property and the list should be still working\r\n\r\n@coralproject/frontend\r\n\r\n","created_at":"2016-07-19T19:28:21Z","updated_at":"2016-07-19T20:57:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"efbba187e7bacad0f7654d33b1c2383e44b4f4f8","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/coralproject/cay/milestones/5","html_url":"https://github.com/coralproject/cay/milestones/Ask%20Beta","labels_url":"https://api.github.com/repos/coralproject/cay/milestones/5/labels","id":1868803,"number":5,"title":"Ask Beta","description":"","creator":{"login":"kgardnr","id":1077300,"avatar_url":"https://avatars.githubusercontent.com/u/1077300?v=3","gravatar_id":"","url":"https://api.github.com/users/kgardnr","html_url":"https://github.com/kgardnr","followers_url":"https://api.github.com/users/kgardnr/followers","following_url":"https://api.github.com/users/kgardnr/following{/other_user}","gists_url":"https://api.github.com/users/kgardnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kgardnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgardnr/subscriptions","organizations_url":"https://api.github.com/users/kgardnr/orgs","repos_url":"https://api.github.com/users/kgardnr/repos","events_url":"https://api.github.com/users/kgardnr/events{/privacy}","received_events_url":"https://api.github.com/users/kgardnr/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":40,"state":"open","created_at":"2016-07-06T23:39:00Z","updated_at":"2016-07-19T20:51:00Z","due_on":"2016-07-26T05:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/coralproject/cay/pulls/494/commits","review_comments_url":"https://api.github.com/repos/coralproject/cay/pulls/494/comments","review_comment_url":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/cay/issues/494/comments","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/3a7ad83c4791bf061e8a31dc2b1d859c161ff564","head":{"label":"coralproject:update-submission-list-fields","ref":"update-submission-list-fields","sha":"3a7ad83c4791bf061e8a31dc2b1d859c161ff564","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-07-12T21:55:43Z","pushed_at":"2016-07-19T20:50:46Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":68970,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":58,"forks":5,"open_issues":58,"watchers":14,"default_branch":"master"}},"base":{"label":"coralproject:master","ref":"master","sha":"80d5d0fb1715b36c0dadf56646ea15c8a991055d","user":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":44335810,"name":"cay","full_name":"coralproject/cay","owner":{"login":"coralproject","id":9255912,"avatar_url":"https://avatars.githubusercontent.com/u/9255912?v=3","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coralproject/cay","description":"Front-end code for Coral community tools","fork":false,"url":"https://api.github.com/repos/coralproject/cay","forks_url":"https://api.github.com/repos/coralproject/cay/forks","keys_url":"https://api.github.com/repos/coralproject/cay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/cay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/cay/teams","hooks_url":"https://api.github.com/repos/coralproject/cay/hooks","issue_events_url":"https://api.github.com/repos/coralproject/cay/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/cay/events","assignees_url":"https://api.github.com/repos/coralproject/cay/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/cay/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/cay/tags","blobs_url":"https://api.github.com/repos/coralproject/cay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/cay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/cay/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/cay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/cay/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/cay/languages","stargazers_url":"https://api.github.com/repos/coralproject/cay/stargazers","contributors_url":"https://api.github.com/repos/coralproject/cay/contributors","subscribers_url":"https://api.github.com/repos/coralproject/cay/subscribers","subscription_url":"https://api.github.com/repos/coralproject/cay/subscription","commits_url":"https://api.github.com/repos/coralproject/cay/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/cay/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/cay/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/cay/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/cay/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/cay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/cay/merges","archive_url":"https://api.github.com/repos/coralproject/cay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/cay/downloads","issues_url":"https://api.github.com/repos/coralproject/cay/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/cay/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/cay/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/cay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/cay/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/cay/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/cay/deployments","created_at":"2015-10-15T18:02:52Z","updated_at":"2016-07-12T21:55:43Z","pushed_at":"2016-07-19T20:50:46Z","git_url":"git://github.com/coralproject/cay.git","ssh_url":"git@github.com:coralproject/cay.git","clone_url":"https://github.com/coralproject/cay.git","svn_url":"https://github.com/coralproject/cay","homepage":"","size":68970,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":58,"forks":5,"open_issues":58,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/cay/pulls/494"},"html":{"href":"https://github.com/coralproject/cay/pull/494"},"issue":{"href":"https://api.github.com/repos/coralproject/cay/issues/494"},"comments":{"href":"https://api.github.com/repos/coralproject/cay/issues/494/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/cay/pulls/494/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/cay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/cay/pulls/494/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/cay/statuses/3a7ad83c4791bf061e8a31dc2b1d859c161ff564"}}}}
{"actor":{"display_login":"riley"}}