{"action":"created","comment":{"url":"https://api.github.com/repos/basillabs/dora/pulls/comments/134383907","pull_request_review_id":57667199,"id":134383907,"diff_hunk":"@@ -2,25 +2,25 @@ import {\n   TOGGLE_LOCATION,\n } from '../constants/actionTypeConstants';\n \n-const defaultState = [\n-  {\n-    \"name\": \"Boba Guys\",\n-    \"completed\": false,\n-  },\n-  {\n-    \"name\": \"I-tea\",\n-    \"completed\": false,\n-  }\n-];\n+const defaultState = {\n+  locations: [],\n+};\n \n export default function(state = defaultState, action = {}) {\n   switch (action.type) {\n+    case SET_TOUR:\n+      return {\n+        ... state,\n+        location: action.locations\n+      }\n+\n     case TOGGLE_LOCATION:\n       return state.map((location, index) => {","path":"src/reducers/locationListReducer.js","position":27,"original_position":27,"commit_id":"2911db1b51b27c6864ea11fbdafe01a84a37ade8","original_commit_id":"2911db1b51b27c6864ea11fbdafe01a84a37ade8","user":{"login":"sangsta","id":2275018,"avatar_url":"https://avatars2.githubusercontent.com/u/2275018?v=4","gravatar_id":"","url":"https://api.github.com/users/sangsta","html_url":"https://github.com/sangsta","followers_url":"https://api.github.com/users/sangsta/followers","following_url":"https://api.github.com/users/sangsta/following{/other_user}","gists_url":"https://api.github.com/users/sangsta/gists{/gist_id}","starred_url":"https://api.github.com/users/sangsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangsta/subscriptions","organizations_url":"https://api.github.com/users/sangsta/orgs","repos_url":"https://api.github.com/users/sangsta/repos","events_url":"https://api.github.com/users/sangsta/events{/privacy}","received_events_url":"https://api.github.com/users/sangsta/received_events","type":"User","site_admin":false},"body":"state.locations","created_at":"2017-08-22T04:50:24Z","updated_at":"2017-08-22T04:50:24Z","html_url":"https://github.com/basillabs/dora/pull/31#discussion_r134383907","pull_request_url":"https://api.github.com/repos/basillabs/dora/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/basillabs/dora/pulls/comments/134383907"},"html":{"href":"https://github.com/basillabs/dora/pull/31#discussion_r134383907"},"pull_request":{"href":"https://api.github.com/repos/basillabs/dora/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/basillabs/dora/pulls/31","id":136888643,"html_url":"https://github.com/basillabs/dora/pull/31","diff_url":"https://github.com/basillabs/dora/pull/31.diff","patch_url":"https://github.com/basillabs/dora/pull/31.patch","issue_url":"https://api.github.com/repos/basillabs/dora/issues/31","number":31,"state":"open","locked":false,"title":"Store","user":{"login":"christopherchiu","id":1696224,"avatar_url":"https://avatars2.githubusercontent.com/u/1696224?v=4","gravatar_id":"","url":"https://api.github.com/users/christopherchiu","html_url":"https://github.com/christopherchiu","followers_url":"https://api.github.com/users/christopherchiu/followers","following_url":"https://api.github.com/users/christopherchiu/following{/other_user}","gists_url":"https://api.github.com/users/christopherchiu/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherchiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherchiu/subscriptions","organizations_url":"https://api.github.com/users/christopherchiu/orgs","repos_url":"https://api.github.com/users/christopherchiu/repos","events_url":"https://api.github.com/users/christopherchiu/events{/privacy}","received_events_url":"https://api.github.com/users/christopherchiu/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-22T04:17:51Z","updated_at":"2017-08-22T04:50:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0eeb1c1f6a87edb7ddeb357347c88c57c09b650","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/basillabs/dora/pulls/31/commits","review_comments_url":"https://api.github.com/repos/basillabs/dora/pulls/31/comments","review_comment_url":"https://api.github.com/repos/basillabs/dora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/basillabs/dora/issues/31/comments","statuses_url":"https://api.github.com/repos/basillabs/dora/statuses/2911db1b51b27c6864ea11fbdafe01a84a37ade8","head":{"label":"basillabs:store","ref":"store","sha":"2911db1b51b27c6864ea11fbdafe01a84a37ade8","user":{"login":"basillabs","id":25315120,"avatar_url":"https://avatars2.githubusercontent.com/u/25315120?v=4","gravatar_id":"","url":"https://api.github.com/users/basillabs","html_url":"https://github.com/basillabs","followers_url":"https://api.github.com/users/basillabs/followers","following_url":"https://api.github.com/users/basillabs/following{/other_user}","gists_url":"https://api.github.com/users/basillabs/gists{/gist_id}","starred_url":"https://api.github.com/users/basillabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basillabs/subscriptions","organizations_url":"https://api.github.com/users/basillabs/orgs","repos_url":"https://api.github.com/users/basillabs/repos","events_url":"https://api.github.com/users/basillabs/events{/privacy}","received_events_url":"https://api.github.com/users/basillabs/received_events","type":"Organization","site_admin":false},"repo":{"id":99644376,"name":"dora","full_name":"basillabs/dora","owner":{"login":"basillabs","id":25315120,"avatar_url":"https://avatars2.githubusercontent.com/u/25315120?v=4","gravatar_id":"","url":"https://api.github.com/users/basillabs","html_url":"https://github.com/basillabs","followers_url":"https://api.github.com/users/basillabs/followers","following_url":"https://api.github.com/users/basillabs/following{/other_user}","gists_url":"https://api.github.com/users/basillabs/gists{/gist_id}","starred_url":"https://api.github.com/users/basillabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basillabs/subscriptions","organizations_url":"https://api.github.com/users/basillabs/orgs","repos_url":"https://api.github.com/users/basillabs/repos","events_url":"https://api.github.com/users/basillabs/events{/privacy}","received_events_url":"https://api.github.com/users/basillabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basillabs/dora","description":null,"fork":false,"url":"https://api.github.com/repos/basillabs/dora","forks_url":"https://api.github.com/repos/basillabs/dora/forks","keys_url":"https://api.github.com/repos/basillabs/dora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basillabs/dora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basillabs/dora/teams","hooks_url":"https://api.github.com/repos/basillabs/dora/hooks","issue_events_url":"https://api.github.com/repos/basillabs/dora/issues/events{/number}","events_url":"https://api.github.com/repos/basillabs/dora/events","assignees_url":"https://api.github.com/repos/basillabs/dora/assignees{/user}","branches_url":"https://api.github.com/repos/basillabs/dora/branches{/branch}","tags_url":"https://api.github.com/repos/basillabs/dora/tags","blobs_url":"https://api.github.com/repos/basillabs/dora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basillabs/dora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basillabs/dora/git/refs{/sha}","trees_url":"https://api.github.com/repos/basillabs/dora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basillabs/dora/statuses/{sha}","languages_url":"https://api.github.com/repos/basillabs/dora/languages","stargazers_url":"https://api.github.com/repos/basillabs/dora/stargazers","contributors_url":"https://api.github.com/repos/basillabs/dora/contributors","subscribers_url":"https://api.github.com/repos/basillabs/dora/subscribers","subscription_url":"https://api.github.com/repos/basillabs/dora/subscription","commits_url":"https://api.github.com/repos/basillabs/dora/commits{/sha}","git_commits_url":"https://api.github.com/repos/basillabs/dora/git/commits{/sha}","comments_url":"https://api.github.com/repos/basillabs/dora/comments{/number}","issue_comment_url":"https://api.github.com/repos/basillabs/dora/issues/comments{/number}","contents_url":"https://api.github.com/repos/basillabs/dora/contents/{+path}","compare_url":"https://api.github.com/repos/basillabs/dora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basillabs/dora/merges","archive_url":"https://api.github.com/repos/basillabs/dora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basillabs/dora/downloads","issues_url":"https://api.github.com/repos/basillabs/dora/issues{/number}","pulls_url":"https://api.github.com/repos/basillabs/dora/pulls{/number}","milestones_url":"https://api.github.com/repos/basillabs/dora/milestones{/number}","notifications_url":"https://api.github.com/repos/basillabs/dora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basillabs/dora/labels{/name}","releases_url":"https://api.github.com/repos/basillabs/dora/releases{/id}","deployments_url":"https://api.github.com/repos/basillabs/dora/deployments","created_at":"2017-08-08T03:09:49Z","updated_at":"2017-08-22T04:41:34Z","pushed_at":"2017-08-22T04:47:19Z","git_url":"git://github.com/basillabs/dora.git","ssh_url":"git@github.com:basillabs/dora.git","clone_url":"https://github.com/basillabs/dora.git","svn_url":"https://github.com/basillabs/dora","homepage":null,"size":3035,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":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":0,"default_branch":"master"}},"base":{"label":"basillabs:master","ref":"master","sha":"5d77cfeff43dd5b2176302d083213d52e24a36f4","user":{"login":"basillabs","id":25315120,"avatar_url":"https://avatars2.githubusercontent.com/u/25315120?v=4","gravatar_id":"","url":"https://api.github.com/users/basillabs","html_url":"https://github.com/basillabs","followers_url":"https://api.github.com/users/basillabs/followers","following_url":"https://api.github.com/users/basillabs/following{/other_user}","gists_url":"https://api.github.com/users/basillabs/gists{/gist_id}","starred_url":"https://api.github.com/users/basillabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basillabs/subscriptions","organizations_url":"https://api.github.com/users/basillabs/orgs","repos_url":"https://api.github.com/users/basillabs/repos","events_url":"https://api.github.com/users/basillabs/events{/privacy}","received_events_url":"https://api.github.com/users/basillabs/received_events","type":"Organization","site_admin":false},"repo":{"id":99644376,"name":"dora","full_name":"basillabs/dora","owner":{"login":"basillabs","id":25315120,"avatar_url":"https://avatars2.githubusercontent.com/u/25315120?v=4","gravatar_id":"","url":"https://api.github.com/users/basillabs","html_url":"https://github.com/basillabs","followers_url":"https://api.github.com/users/basillabs/followers","following_url":"https://api.github.com/users/basillabs/following{/other_user}","gists_url":"https://api.github.com/users/basillabs/gists{/gist_id}","starred_url":"https://api.github.com/users/basillabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basillabs/subscriptions","organizations_url":"https://api.github.com/users/basillabs/orgs","repos_url":"https://api.github.com/users/basillabs/repos","events_url":"https://api.github.com/users/basillabs/events{/privacy}","received_events_url":"https://api.github.com/users/basillabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/basillabs/dora","description":null,"fork":false,"url":"https://api.github.com/repos/basillabs/dora","forks_url":"https://api.github.com/repos/basillabs/dora/forks","keys_url":"https://api.github.com/repos/basillabs/dora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basillabs/dora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basillabs/dora/teams","hooks_url":"https://api.github.com/repos/basillabs/dora/hooks","issue_events_url":"https://api.github.com/repos/basillabs/dora/issues/events{/number}","events_url":"https://api.github.com/repos/basillabs/dora/events","assignees_url":"https://api.github.com/repos/basillabs/dora/assignees{/user}","branches_url":"https://api.github.com/repos/basillabs/dora/branches{/branch}","tags_url":"https://api.github.com/repos/basillabs/dora/tags","blobs_url":"https://api.github.com/repos/basillabs/dora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basillabs/dora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basillabs/dora/git/refs{/sha}","trees_url":"https://api.github.com/repos/basillabs/dora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basillabs/dora/statuses/{sha}","languages_url":"https://api.github.com/repos/basillabs/dora/languages","stargazers_url":"https://api.github.com/repos/basillabs/dora/stargazers","contributors_url":"https://api.github.com/repos/basillabs/dora/contributors","subscribers_url":"https://api.github.com/repos/basillabs/dora/subscribers","subscription_url":"https://api.github.com/repos/basillabs/dora/subscription","commits_url":"https://api.github.com/repos/basillabs/dora/commits{/sha}","git_commits_url":"https://api.github.com/repos/basillabs/dora/git/commits{/sha}","comments_url":"https://api.github.com/repos/basillabs/dora/comments{/number}","issue_comment_url":"https://api.github.com/repos/basillabs/dora/issues/comments{/number}","contents_url":"https://api.github.com/repos/basillabs/dora/contents/{+path}","compare_url":"https://api.github.com/repos/basillabs/dora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basillabs/dora/merges","archive_url":"https://api.github.com/repos/basillabs/dora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basillabs/dora/downloads","issues_url":"https://api.github.com/repos/basillabs/dora/issues{/number}","pulls_url":"https://api.github.com/repos/basillabs/dora/pulls{/number}","milestones_url":"https://api.github.com/repos/basillabs/dora/milestones{/number}","notifications_url":"https://api.github.com/repos/basillabs/dora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basillabs/dora/labels{/name}","releases_url":"https://api.github.com/repos/basillabs/dora/releases{/id}","deployments_url":"https://api.github.com/repos/basillabs/dora/deployments","created_at":"2017-08-08T03:09:49Z","updated_at":"2017-08-22T04:41:34Z","pushed_at":"2017-08-22T04:47:19Z","git_url":"git://github.com/basillabs/dora.git","ssh_url":"git@github.com:basillabs/dora.git","clone_url":"https://github.com/basillabs/dora.git","svn_url":"https://github.com/basillabs/dora","homepage":null,"size":3035,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/basillabs/dora/pulls/31"},"html":{"href":"https://github.com/basillabs/dora/pull/31"},"issue":{"href":"https://api.github.com/repos/basillabs/dora/issues/31"},"comments":{"href":"https://api.github.com/repos/basillabs/dora/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/basillabs/dora/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/basillabs/dora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/basillabs/dora/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/basillabs/dora/statuses/2911db1b51b27c6864ea11fbdafe01a84a37ade8"}}}}
{"actor":{"display_login":"sangsta"}}