{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/comments/142117552","pull_request_review_id":66431718,"id":142117552,"diff_hunk":"@@ -0,0 +1,41 @@\n+import { push } from 'react-router-redux'\n+import Authenticate, { logOut as logOutService } from '../../services/AuthService.js'\n+\n+export const actionCreators = {\n+  login({email, password}) {\n+    return async dispatch => {\n+      dispatch({ type: 'LOGIN' });","path":"w-books/src/redux/auth/actions.js","position":7,"original_position":7,"commit_id":"eb64055bac2caf8ef3cd709c6185121cffe4f6c7","original_commit_id":"eb64055bac2caf8ef3cd709c6185121cffe4f6c7","user":{"login":"sbalay","id":1928544,"avatar_url":"https://avatars3.githubusercontent.com/u/1928544?v=4","gravatar_id":"","url":"https://api.github.com/users/sbalay","html_url":"https://github.com/sbalay","followers_url":"https://api.github.com/users/sbalay/followers","following_url":"https://api.github.com/users/sbalay/following{/other_user}","gists_url":"https://api.github.com/users/sbalay/gists{/gist_id}","starred_url":"https://api.github.com/users/sbalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbalay/subscriptions","organizations_url":"https://api.github.com/users/sbalay/orgs","repos_url":"https://api.github.com/users/sbalay/repos","events_url":"https://api.github.com/users/sbalay/events{/privacy}","received_events_url":"https://api.github.com/users/sbalay/received_events","type":"User","site_admin":false},"body":"declare actions types as constants too. ","created_at":"2017-10-02T11:48:50Z","updated_at":"2017-10-02T11:56:25Z","html_url":"https://github.com/wolox-training/ap-react-native/pull/8#discussion_r142117552","pull_request_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/comments/142117552"},"html":{"href":"https://github.com/wolox-training/ap-react-native/pull/8#discussion_r142117552"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8","id":143941187,"html_url":"https://github.com/wolox-training/ap-react-native/pull/8","diff_url":"https://github.com/wolox-training/ap-react-native/pull/8.diff","patch_url":"https://github.com/wolox-training/ap-react-native/pull/8.patch","issue_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/8","number":8,"state":"open","locked":false,"title":"Flux redux","user":{"login":"adrian-ponce-wolox","id":25587882,"avatar_url":"https://avatars2.githubusercontent.com/u/25587882?v=4","gravatar_id":"","url":"https://api.github.com/users/adrian-ponce-wolox","html_url":"https://github.com/adrian-ponce-wolox","followers_url":"https://api.github.com/users/adrian-ponce-wolox/followers","following_url":"https://api.github.com/users/adrian-ponce-wolox/following{/other_user}","gists_url":"https://api.github.com/users/adrian-ponce-wolox/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian-ponce-wolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian-ponce-wolox/subscriptions","organizations_url":"https://api.github.com/users/adrian-ponce-wolox/orgs","repos_url":"https://api.github.com/users/adrian-ponce-wolox/repos","events_url":"https://api.github.com/users/adrian-ponce-wolox/events{/privacy}","received_events_url":"https://api.github.com/users/adrian-ponce-wolox/received_events","type":"User","site_admin":false},"body":"## Summary ##\r\n* Model and implement book list, filter, login, logout using redux\r\n* No visual changes\r\n","created_at":"2017-09-29T17:37:42Z","updated_at":"2017-10-02T11:56:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"096419987c91e5d0a91a22719633cddf7ed56a93","assignee":{"login":"sbalay","id":1928544,"avatar_url":"https://avatars3.githubusercontent.com/u/1928544?v=4","gravatar_id":"","url":"https://api.github.com/users/sbalay","html_url":"https://github.com/sbalay","followers_url":"https://api.github.com/users/sbalay/followers","following_url":"https://api.github.com/users/sbalay/following{/other_user}","gists_url":"https://api.github.com/users/sbalay/gists{/gist_id}","starred_url":"https://api.github.com/users/sbalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbalay/subscriptions","organizations_url":"https://api.github.com/users/sbalay/orgs","repos_url":"https://api.github.com/users/sbalay/repos","events_url":"https://api.github.com/users/sbalay/events{/privacy}","received_events_url":"https://api.github.com/users/sbalay/received_events","type":"User","site_admin":false},"assignees":[{"login":"sbalay","id":1928544,"avatar_url":"https://avatars3.githubusercontent.com/u/1928544?v=4","gravatar_id":"","url":"https://api.github.com/users/sbalay","html_url":"https://github.com/sbalay","followers_url":"https://api.github.com/users/sbalay/followers","following_url":"https://api.github.com/users/sbalay/following{/other_user}","gists_url":"https://api.github.com/users/sbalay/gists{/gist_id}","starred_url":"https://api.github.com/users/sbalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbalay/subscriptions","organizations_url":"https://api.github.com/users/sbalay/orgs","repos_url":"https://api.github.com/users/sbalay/repos","events_url":"https://api.github.com/users/sbalay/events{/privacy}","received_events_url":"https://api.github.com/users/sbalay/received_events","type":"User","site_admin":false},{"login":"IgnacioAbadie","id":24418053,"avatar_url":"https://avatars2.githubusercontent.com/u/24418053?v=4","gravatar_id":"","url":"https://api.github.com/users/IgnacioAbadie","html_url":"https://github.com/IgnacioAbadie","followers_url":"https://api.github.com/users/IgnacioAbadie/followers","following_url":"https://api.github.com/users/IgnacioAbadie/following{/other_user}","gists_url":"https://api.github.com/users/IgnacioAbadie/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnacioAbadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnacioAbadie/subscriptions","organizations_url":"https://api.github.com/users/IgnacioAbadie/orgs","repos_url":"https://api.github.com/users/IgnacioAbadie/repos","events_url":"https://api.github.com/users/IgnacioAbadie/events{/privacy}","received_events_url":"https://api.github.com/users/IgnacioAbadie/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"IgnacioAbadie","id":24418053,"avatar_url":"https://avatars2.githubusercontent.com/u/24418053?v=4","gravatar_id":"","url":"https://api.github.com/users/IgnacioAbadie","html_url":"https://github.com/IgnacioAbadie","followers_url":"https://api.github.com/users/IgnacioAbadie/followers","following_url":"https://api.github.com/users/IgnacioAbadie/following{/other_user}","gists_url":"https://api.github.com/users/IgnacioAbadie/gists{/gist_id}","starred_url":"https://api.github.com/users/IgnacioAbadie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgnacioAbadie/subscriptions","organizations_url":"https://api.github.com/users/IgnacioAbadie/orgs","repos_url":"https://api.github.com/users/IgnacioAbadie/repos","events_url":"https://api.github.com/users/IgnacioAbadie/events{/privacy}","received_events_url":"https://api.github.com/users/IgnacioAbadie/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8/commits","review_comments_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8/comments","review_comment_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/8/comments","statuses_url":"https://api.github.com/repos/wolox-training/ap-react-native/statuses/eb64055bac2caf8ef3cd709c6185121cffe4f6c7","head":{"label":"wolox-training:flux-redux","ref":"flux-redux","sha":"eb64055bac2caf8ef3cd709c6185121cffe4f6c7","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":103138433,"name":"ap-react-native","full_name":"wolox-training/ap-react-native","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ap-react-native","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ap-react-native","forks_url":"https://api.github.com/repos/wolox-training/ap-react-native/forks","keys_url":"https://api.github.com/repos/wolox-training/ap-react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ap-react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ap-react-native/teams","hooks_url":"https://api.github.com/repos/wolox-training/ap-react-native/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ap-react-native/events","assignees_url":"https://api.github.com/repos/wolox-training/ap-react-native/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ap-react-native/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ap-react-native/tags","blobs_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ap-react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ap-react-native/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ap-react-native/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ap-react-native/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ap-react-native/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ap-react-native/subscription","commits_url":"https://api.github.com/repos/wolox-training/ap-react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ap-react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ap-react-native/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ap-react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ap-react-native/merges","archive_url":"https://api.github.com/repos/wolox-training/ap-react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ap-react-native/downloads","issues_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ap-react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ap-react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ap-react-native/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ap-react-native/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ap-react-native/deployments","created_at":"2017-09-11T13:20:42Z","updated_at":"2017-09-13T13:30:01Z","pushed_at":"2017-09-29T20:35:58Z","git_url":"git://github.com/wolox-training/ap-react-native.git","ssh_url":"git@github.com:wolox-training/ap-react-native.git","clone_url":"https://github.com/wolox-training/ap-react-native.git","svn_url":"https://github.com/wolox-training/ap-react-native","homepage":null,"size":169,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"wolox-training:master","ref":"master","sha":"0e5fce11830453b9e3032e4ad0f157e66e4fc386","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":103138433,"name":"ap-react-native","full_name":"wolox-training/ap-react-native","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars1.githubusercontent.com/u/14113351?v=4","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ap-react-native","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ap-react-native","forks_url":"https://api.github.com/repos/wolox-training/ap-react-native/forks","keys_url":"https://api.github.com/repos/wolox-training/ap-react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ap-react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ap-react-native/teams","hooks_url":"https://api.github.com/repos/wolox-training/ap-react-native/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ap-react-native/events","assignees_url":"https://api.github.com/repos/wolox-training/ap-react-native/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ap-react-native/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ap-react-native/tags","blobs_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ap-react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ap-react-native/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ap-react-native/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ap-react-native/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ap-react-native/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ap-react-native/subscription","commits_url":"https://api.github.com/repos/wolox-training/ap-react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ap-react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ap-react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ap-react-native/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ap-react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ap-react-native/merges","archive_url":"https://api.github.com/repos/wolox-training/ap-react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ap-react-native/downloads","issues_url":"https://api.github.com/repos/wolox-training/ap-react-native/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ap-react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ap-react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ap-react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ap-react-native/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ap-react-native/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ap-react-native/deployments","created_at":"2017-09-11T13:20:42Z","updated_at":"2017-09-13T13:30:01Z","pushed_at":"2017-09-29T20:35:58Z","git_url":"git://github.com/wolox-training/ap-react-native.git","ssh_url":"git@github.com:wolox-training/ap-react-native.git","clone_url":"https://github.com/wolox-training/ap-react-native.git","svn_url":"https://github.com/wolox-training/ap-react-native","homepage":null,"size":169,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8"},"html":{"href":"https://github.com/wolox-training/ap-react-native/pull/8"},"issue":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/issues/8"},"comments":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/ap-react-native/statuses/eb64055bac2caf8ef3cd709c6185121cffe4f6c7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sbalay"}}