{"action":"created","comment":{"url":"https://api.github.com/repos/syncids/syncids-ui/pulls/comments/47517526","id":47517526,"diff_hunk":"@@ -0,0 +1,24 @@\n+import axios                            from 'axios';\n+import { TODOS_REQUEST, TODOS_RECEIVE } from '../constants/dashboard';\n+\n+function receiveTodos (todos) {\n+  return {\n+    type: TODOS_RECEIVE,\n+    payload: todos\n+  };\n+}\n+\n+function requestTodos () {\n+  return { type: TODOS_REQUEST };\n+}\n+\n+export function fetchTodos () {\n+  const todosUrl = 'http://syncidsapi.azurewebsites.net/api/todos?firmName=syncidscom&q=syncids.com&showAll=false';\n+  return (dispatch) => {\n+    dispatch(requestTodos());\n+    return axios\n+      .get(todosUrl)\n+      .then(json => json.data)","path":"src/actions/dashboard.js","position":21,"original_position":21,"commit_id":"ae13a0c8f95b17100fb31d75a849e7d0a7016136","original_commit_id":"ae13a0c8f95b17100fb31d75a849e7d0a7016136","user":{"login":"ntgn81","id":4622542,"avatar_url":"https://avatars.githubusercontent.com/u/4622542?v=3","gravatar_id":"","url":"https://api.github.com/users/ntgn81","html_url":"https://github.com/ntgn81","followers_url":"https://api.github.com/users/ntgn81/followers","following_url":"https://api.github.com/users/ntgn81/following{/other_user}","gists_url":"https://api.github.com/users/ntgn81/gists{/gist_id}","starred_url":"https://api.github.com/users/ntgn81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntgn81/subscriptions","organizations_url":"https://api.github.com/users/ntgn81/orgs","repos_url":"https://api.github.com/users/ntgn81/repos","events_url":"https://api.github.com/users/ntgn81/events{/privacy}","received_events_url":"https://api.github.com/users/ntgn81/received_events","type":"User","site_admin":false},"body":"Unnecessary step, or did you have a reason for this?","created_at":"2015-12-14T16:17:27Z","updated_at":"2015-12-14T16:17:27Z","html_url":"https://github.com/syncids/syncids-ui/pull/3#discussion_r47517526","pull_request_url":"https://api.github.com/repos/syncids/syncids-ui/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/comments/47517526"},"html":{"href":"https://github.com/syncids/syncids-ui/pull/3#discussion_r47517526"},"pull_request":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/syncids/syncids-ui/pulls/3","id":53585675,"html_url":"https://github.com/syncids/syncids-ui/pull/3","diff_url":"https://github.com/syncids/syncids-ui/pull/3.diff","patch_url":"https://github.com/syncids/syncids-ui/pull/3.patch","issue_url":"https://api.github.com/repos/syncids/syncids-ui/issues/3","number":3,"state":"open","locked":false,"title":"Add dashboard component","user":{"login":"erlikh","id":114792,"avatar_url":"https://avatars.githubusercontent.com/u/114792?v=3","gravatar_id":"","url":"https://api.github.com/users/erlikh","html_url":"https://github.com/erlikh","followers_url":"https://api.github.com/users/erlikh/followers","following_url":"https://api.github.com/users/erlikh/following{/other_user}","gists_url":"https://api.github.com/users/erlikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erlikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erlikh/subscriptions","organizations_url":"https://api.github.com/users/erlikh/orgs","repos_url":"https://api.github.com/users/erlikh/repos","events_url":"https://api.github.com/users/erlikh/events{/privacy}","received_events_url":"https://api.github.com/users/erlikh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T16:16:15Z","updated_at":"2015-12-14T16:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba16cd3c502b96bd4f065e16089a7bd81009193d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/syncids/syncids-ui/pulls/3/commits","review_comments_url":"https://api.github.com/repos/syncids/syncids-ui/pulls/3/comments","review_comment_url":"https://api.github.com/repos/syncids/syncids-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/syncids/syncids-ui/issues/3/comments","statuses_url":"https://api.github.com/repos/syncids/syncids-ui/statuses/ae13a0c8f95b17100fb31d75a849e7d0a7016136","head":{"label":"syncids:add-dashboard","ref":"add-dashboard","sha":"ae13a0c8f95b17100fb31d75a849e7d0a7016136","user":{"login":"syncids","id":13111171,"avatar_url":"https://avatars.githubusercontent.com/u/13111171?v=3","gravatar_id":"","url":"https://api.github.com/users/syncids","html_url":"https://github.com/syncids","followers_url":"https://api.github.com/users/syncids/followers","following_url":"https://api.github.com/users/syncids/following{/other_user}","gists_url":"https://api.github.com/users/syncids/gists{/gist_id}","starred_url":"https://api.github.com/users/syncids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syncids/subscriptions","organizations_url":"https://api.github.com/users/syncids/orgs","repos_url":"https://api.github.com/users/syncids/repos","events_url":"https://api.github.com/users/syncids/events{/privacy}","received_events_url":"https://api.github.com/users/syncids/received_events","type":"Organization","site_admin":false},"repo":{"id":47572145,"name":"syncids-ui","full_name":"syncids/syncids-ui","owner":{"login":"syncids","id":13111171,"avatar_url":"https://avatars.githubusercontent.com/u/13111171?v=3","gravatar_id":"","url":"https://api.github.com/users/syncids","html_url":"https://github.com/syncids","followers_url":"https://api.github.com/users/syncids/followers","following_url":"https://api.github.com/users/syncids/following{/other_user}","gists_url":"https://api.github.com/users/syncids/gists{/gist_id}","starred_url":"https://api.github.com/users/syncids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syncids/subscriptions","organizations_url":"https://api.github.com/users/syncids/orgs","repos_url":"https://api.github.com/users/syncids/repos","events_url":"https://api.github.com/users/syncids/events{/privacy}","received_events_url":"https://api.github.com/users/syncids/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/syncids/syncids-ui","description":"SyncIDS UI with React/Redux","fork":false,"url":"https://api.github.com/repos/syncids/syncids-ui","forks_url":"https://api.github.com/repos/syncids/syncids-ui/forks","keys_url":"https://api.github.com/repos/syncids/syncids-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syncids/syncids-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syncids/syncids-ui/teams","hooks_url":"https://api.github.com/repos/syncids/syncids-ui/hooks","issue_events_url":"https://api.github.com/repos/syncids/syncids-ui/issues/events{/number}","events_url":"https://api.github.com/repos/syncids/syncids-ui/events","assignees_url":"https://api.github.com/repos/syncids/syncids-ui/assignees{/user}","branches_url":"https://api.github.com/repos/syncids/syncids-ui/branches{/branch}","tags_url":"https://api.github.com/repos/syncids/syncids-ui/tags","blobs_url":"https://api.github.com/repos/syncids/syncids-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syncids/syncids-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syncids/syncids-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/syncids/syncids-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syncids/syncids-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/syncids/syncids-ui/languages","stargazers_url":"https://api.github.com/repos/syncids/syncids-ui/stargazers","contributors_url":"https://api.github.com/repos/syncids/syncids-ui/contributors","subscribers_url":"https://api.github.com/repos/syncids/syncids-ui/subscribers","subscription_url":"https://api.github.com/repos/syncids/syncids-ui/subscription","commits_url":"https://api.github.com/repos/syncids/syncids-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/syncids/syncids-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/syncids/syncids-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/syncids/syncids-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/syncids/syncids-ui/contents/{+path}","compare_url":"https://api.github.com/repos/syncids/syncids-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syncids/syncids-ui/merges","archive_url":"https://api.github.com/repos/syncids/syncids-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syncids/syncids-ui/downloads","issues_url":"https://api.github.com/repos/syncids/syncids-ui/issues{/number}","pulls_url":"https://api.github.com/repos/syncids/syncids-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/syncids/syncids-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/syncids/syncids-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syncids/syncids-ui/labels{/name}","releases_url":"https://api.github.com/repos/syncids/syncids-ui/releases{/id}","created_at":"2015-12-07T18:48:30Z","updated_at":"2015-12-11T15:41:21Z","pushed_at":"2015-12-14T16:16:15Z","git_url":"git://github.com/syncids/syncids-ui.git","ssh_url":"git@github.com:syncids/syncids-ui.git","clone_url":"https://github.com/syncids/syncids-ui.git","svn_url":"https://github.com/syncids/syncids-ui","homepage":null,"size":52,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"syncids:develop","ref":"develop","sha":"2d029041688f3ea589cb23d20916836d517aad75","user":{"login":"syncids","id":13111171,"avatar_url":"https://avatars.githubusercontent.com/u/13111171?v=3","gravatar_id":"","url":"https://api.github.com/users/syncids","html_url":"https://github.com/syncids","followers_url":"https://api.github.com/users/syncids/followers","following_url":"https://api.github.com/users/syncids/following{/other_user}","gists_url":"https://api.github.com/users/syncids/gists{/gist_id}","starred_url":"https://api.github.com/users/syncids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syncids/subscriptions","organizations_url":"https://api.github.com/users/syncids/orgs","repos_url":"https://api.github.com/users/syncids/repos","events_url":"https://api.github.com/users/syncids/events{/privacy}","received_events_url":"https://api.github.com/users/syncids/received_events","type":"Organization","site_admin":false},"repo":{"id":47572145,"name":"syncids-ui","full_name":"syncids/syncids-ui","owner":{"login":"syncids","id":13111171,"avatar_url":"https://avatars.githubusercontent.com/u/13111171?v=3","gravatar_id":"","url":"https://api.github.com/users/syncids","html_url":"https://github.com/syncids","followers_url":"https://api.github.com/users/syncids/followers","following_url":"https://api.github.com/users/syncids/following{/other_user}","gists_url":"https://api.github.com/users/syncids/gists{/gist_id}","starred_url":"https://api.github.com/users/syncids/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syncids/subscriptions","organizations_url":"https://api.github.com/users/syncids/orgs","repos_url":"https://api.github.com/users/syncids/repos","events_url":"https://api.github.com/users/syncids/events{/privacy}","received_events_url":"https://api.github.com/users/syncids/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/syncids/syncids-ui","description":"SyncIDS UI with React/Redux","fork":false,"url":"https://api.github.com/repos/syncids/syncids-ui","forks_url":"https://api.github.com/repos/syncids/syncids-ui/forks","keys_url":"https://api.github.com/repos/syncids/syncids-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syncids/syncids-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syncids/syncids-ui/teams","hooks_url":"https://api.github.com/repos/syncids/syncids-ui/hooks","issue_events_url":"https://api.github.com/repos/syncids/syncids-ui/issues/events{/number}","events_url":"https://api.github.com/repos/syncids/syncids-ui/events","assignees_url":"https://api.github.com/repos/syncids/syncids-ui/assignees{/user}","branches_url":"https://api.github.com/repos/syncids/syncids-ui/branches{/branch}","tags_url":"https://api.github.com/repos/syncids/syncids-ui/tags","blobs_url":"https://api.github.com/repos/syncids/syncids-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syncids/syncids-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syncids/syncids-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/syncids/syncids-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syncids/syncids-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/syncids/syncids-ui/languages","stargazers_url":"https://api.github.com/repos/syncids/syncids-ui/stargazers","contributors_url":"https://api.github.com/repos/syncids/syncids-ui/contributors","subscribers_url":"https://api.github.com/repos/syncids/syncids-ui/subscribers","subscription_url":"https://api.github.com/repos/syncids/syncids-ui/subscription","commits_url":"https://api.github.com/repos/syncids/syncids-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/syncids/syncids-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/syncids/syncids-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/syncids/syncids-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/syncids/syncids-ui/contents/{+path}","compare_url":"https://api.github.com/repos/syncids/syncids-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syncids/syncids-ui/merges","archive_url":"https://api.github.com/repos/syncids/syncids-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syncids/syncids-ui/downloads","issues_url":"https://api.github.com/repos/syncids/syncids-ui/issues{/number}","pulls_url":"https://api.github.com/repos/syncids/syncids-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/syncids/syncids-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/syncids/syncids-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syncids/syncids-ui/labels{/name}","releases_url":"https://api.github.com/repos/syncids/syncids-ui/releases{/id}","created_at":"2015-12-07T18:48:30Z","updated_at":"2015-12-11T15:41:21Z","pushed_at":"2015-12-14T16:16:15Z","git_url":"git://github.com/syncids/syncids-ui.git","ssh_url":"git@github.com:syncids/syncids-ui.git","clone_url":"https://github.com/syncids/syncids-ui.git","svn_url":"https://github.com/syncids/syncids-ui","homepage":null,"size":52,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/3"},"html":{"href":"https://github.com/syncids/syncids-ui/pull/3"},"issue":{"href":"https://api.github.com/repos/syncids/syncids-ui/issues/3"},"comments":{"href":"https://api.github.com/repos/syncids/syncids-ui/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/syncids/syncids-ui/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/syncids/syncids-ui/statuses/ae13a0c8f95b17100fb31d75a849e7d0a7016136"}}}}