{"action":"created","comment":{"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/comments/172879808","pull_request_review_id":101962779,"id":172879808,"diff_hunk":"@@ -0,0 +1,38 @@\n+const initialState = {\r\n+    message: '',\r\n+    pending: false,\r\n+}\r\n+const register = (state = initialState, action) => {\r\n+    switch (action.type) {\r\n+        case 'REGISTER':\r\n+            return (\r\n+            Object.assign( {}, state,\r\n+            {\r\n+                pending: true,\r\n+            }\r\n+            )\r\n+            );\r\n+        case 'REGISTER_SUCCSESS':\r\n+            return (\r\n+            Object.assign({}, state,\r\n+            {\r\n+                pending: false,\r\n+                message: action.message\r\n+            }\r\n+            )\r\n+            );\r\n+        case 'REGISTER_ERROR':\r\n+            return (\r\n+            Object.assign({}, state,\r","path":"task7.2/src/reducers/register.js","position":26,"original_position":26,"commit_id":"95c4d84905ec99881e858e38c804a93155d8f106","original_commit_id":"95c4d84905ec99881e858e38c804a93155d8f106","user":{"login":"vladislavkovaliov","id":10350366,"avatar_url":"https://avatars3.githubusercontent.com/u/10350366?v=4","gravatar_id":"","url":"https://api.github.com/users/vladislavkovaliov","html_url":"https://github.com/vladislavkovaliov","followers_url":"https://api.github.com/users/vladislavkovaliov/followers","following_url":"https://api.github.com/users/vladislavkovaliov/following{/other_user}","gists_url":"https://api.github.com/users/vladislavkovaliov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladislavkovaliov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladislavkovaliov/subscriptions","organizations_url":"https://api.github.com/users/vladislavkovaliov/orgs","repos_url":"https://api.github.com/users/vladislavkovaliov/repos","events_url":"https://api.github.com/users/vladislavkovaliov/events{/privacy}","received_events_url":"https://api.github.com/users/vladislavkovaliov/received_events","type":"User","site_admin":false},"body":"!","created_at":"2018-03-07T15:29:57Z","updated_at":"2018-03-07T15:31:24Z","html_url":"https://github.com/andrei-pastukhou/FrontCamp/pull/16#discussion_r172879808","pull_request_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/comments/172879808"},"html":{"href":"https://github.com/andrei-pastukhou/FrontCamp/pull/16#discussion_r172879808"},"pull_request":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16","id":173167408,"html_url":"https://github.com/andrei-pastukhou/FrontCamp/pull/16","diff_url":"https://github.com/andrei-pastukhou/FrontCamp/pull/16.diff","patch_url":"https://github.com/andrei-pastukhou/FrontCamp/pull/16.patch","issue_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/16","number":16,"state":"open","locked":false,"title":"Task7.2","user":{"login":"andrei-pastukhou","id":31850884,"avatar_url":"https://avatars1.githubusercontent.com/u/31850884?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-pastukhou","html_url":"https://github.com/andrei-pastukhou","followers_url":"https://api.github.com/users/andrei-pastukhou/followers","following_url":"https://api.github.com/users/andrei-pastukhou/following{/other_user}","gists_url":"https://api.github.com/users/andrei-pastukhou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-pastukhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-pastukhou/subscriptions","organizations_url":"https://api.github.com/users/andrei-pastukhou/orgs","repos_url":"https://api.github.com/users/andrei-pastukhou/repos","events_url":"https://api.github.com/users/andrei-pastukhou/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-pastukhou/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-06T14:06:04Z","updated_at":"2018-03-07T15:31:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02290e4f3e905b6698c4deb01743868daf90d4e9","assignee":{"login":"vladislavkovaliov","id":10350366,"avatar_url":"https://avatars3.githubusercontent.com/u/10350366?v=4","gravatar_id":"","url":"https://api.github.com/users/vladislavkovaliov","html_url":"https://github.com/vladislavkovaliov","followers_url":"https://api.github.com/users/vladislavkovaliov/followers","following_url":"https://api.github.com/users/vladislavkovaliov/following{/other_user}","gists_url":"https://api.github.com/users/vladislavkovaliov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladislavkovaliov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladislavkovaliov/subscriptions","organizations_url":"https://api.github.com/users/vladislavkovaliov/orgs","repos_url":"https://api.github.com/users/vladislavkovaliov/repos","events_url":"https://api.github.com/users/vladislavkovaliov/events{/privacy}","received_events_url":"https://api.github.com/users/vladislavkovaliov/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladislavkovaliov","id":10350366,"avatar_url":"https://avatars3.githubusercontent.com/u/10350366?v=4","gravatar_id":"","url":"https://api.github.com/users/vladislavkovaliov","html_url":"https://github.com/vladislavkovaliov","followers_url":"https://api.github.com/users/vladislavkovaliov/followers","following_url":"https://api.github.com/users/vladislavkovaliov/following{/other_user}","gists_url":"https://api.github.com/users/vladislavkovaliov/gists{/gist_id}","starred_url":"https://api.github.com/users/vladislavkovaliov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladislavkovaliov/subscriptions","organizations_url":"https://api.github.com/users/vladislavkovaliov/orgs","repos_url":"https://api.github.com/users/vladislavkovaliov/repos","events_url":"https://api.github.com/users/vladislavkovaliov/events{/privacy}","received_events_url":"https://api.github.com/users/vladislavkovaliov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":807437125,"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/labels/front-camp","name":"front-camp","color":"040270","default":false},{"id":807437266,"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/labels/review","name":"review","color":"e577bd","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16/commits","review_comments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16/comments","review_comment_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/16/comments","statuses_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/statuses/95c4d84905ec99881e858e38c804a93155d8f106","head":{"label":"andrei-pastukhou:task7.2","ref":"task7.2","sha":"95c4d84905ec99881e858e38c804a93155d8f106","user":{"login":"andrei-pastukhou","id":31850884,"avatar_url":"https://avatars1.githubusercontent.com/u/31850884?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-pastukhou","html_url":"https://github.com/andrei-pastukhou","followers_url":"https://api.github.com/users/andrei-pastukhou/followers","following_url":"https://api.github.com/users/andrei-pastukhou/following{/other_user}","gists_url":"https://api.github.com/users/andrei-pastukhou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-pastukhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-pastukhou/subscriptions","organizations_url":"https://api.github.com/users/andrei-pastukhou/orgs","repos_url":"https://api.github.com/users/andrei-pastukhou/repos","events_url":"https://api.github.com/users/andrei-pastukhou/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-pastukhou/received_events","type":"User","site_admin":false},"repo":{"id":111687312,"name":"FrontCamp","full_name":"andrei-pastukhou/FrontCamp","owner":{"login":"andrei-pastukhou","id":31850884,"avatar_url":"https://avatars1.githubusercontent.com/u/31850884?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-pastukhou","html_url":"https://github.com/andrei-pastukhou","followers_url":"https://api.github.com/users/andrei-pastukhou/followers","following_url":"https://api.github.com/users/andrei-pastukhou/following{/other_user}","gists_url":"https://api.github.com/users/andrei-pastukhou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-pastukhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-pastukhou/subscriptions","organizations_url":"https://api.github.com/users/andrei-pastukhou/orgs","repos_url":"https://api.github.com/users/andrei-pastukhou/repos","events_url":"https://api.github.com/users/andrei-pastukhou/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-pastukhou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrei-pastukhou/FrontCamp","description":"FrontCamp Mentoring Program BY Q4 2017","fork":false,"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp","forks_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/forks","keys_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/teams","hooks_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/hooks","issue_events_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/events{/number}","events_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/events","assignees_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/assignees{/user}","branches_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/branches{/branch}","tags_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/tags","blobs_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/languages","stargazers_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/stargazers","contributors_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/contributors","subscribers_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/subscribers","subscription_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/subscription","commits_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/contents/{+path}","compare_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/merges","archive_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/downloads","issues_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues{/number}","pulls_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/labels{/name}","releases_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/releases{/id}","deployments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/deployments","created_at":"2017-11-22T13:25:18Z","updated_at":"2017-11-29T14:24:44Z","pushed_at":"2018-03-06T14:06:05Z","git_url":"git://github.com/andrei-pastukhou/FrontCamp.git","ssh_url":"git@github.com:andrei-pastukhou/FrontCamp.git","clone_url":"https://github.com/andrei-pastukhou/FrontCamp.git","svn_url":"https://github.com/andrei-pastukhou/FrontCamp","homepage":null,"size":1392,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"andrei-pastukhou:master","ref":"master","sha":"d08a9a07f061ae1b89c93dd8f366fe17618466c7","user":{"login":"andrei-pastukhou","id":31850884,"avatar_url":"https://avatars1.githubusercontent.com/u/31850884?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-pastukhou","html_url":"https://github.com/andrei-pastukhou","followers_url":"https://api.github.com/users/andrei-pastukhou/followers","following_url":"https://api.github.com/users/andrei-pastukhou/following{/other_user}","gists_url":"https://api.github.com/users/andrei-pastukhou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-pastukhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-pastukhou/subscriptions","organizations_url":"https://api.github.com/users/andrei-pastukhou/orgs","repos_url":"https://api.github.com/users/andrei-pastukhou/repos","events_url":"https://api.github.com/users/andrei-pastukhou/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-pastukhou/received_events","type":"User","site_admin":false},"repo":{"id":111687312,"name":"FrontCamp","full_name":"andrei-pastukhou/FrontCamp","owner":{"login":"andrei-pastukhou","id":31850884,"avatar_url":"https://avatars1.githubusercontent.com/u/31850884?v=4","gravatar_id":"","url":"https://api.github.com/users/andrei-pastukhou","html_url":"https://github.com/andrei-pastukhou","followers_url":"https://api.github.com/users/andrei-pastukhou/followers","following_url":"https://api.github.com/users/andrei-pastukhou/following{/other_user}","gists_url":"https://api.github.com/users/andrei-pastukhou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-pastukhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-pastukhou/subscriptions","organizations_url":"https://api.github.com/users/andrei-pastukhou/orgs","repos_url":"https://api.github.com/users/andrei-pastukhou/repos","events_url":"https://api.github.com/users/andrei-pastukhou/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-pastukhou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrei-pastukhou/FrontCamp","description":"FrontCamp Mentoring Program BY Q4 2017","fork":false,"url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp","forks_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/forks","keys_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/teams","hooks_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/hooks","issue_events_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/events{/number}","events_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/events","assignees_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/assignees{/user}","branches_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/branches{/branch}","tags_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/tags","blobs_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/languages","stargazers_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/stargazers","contributors_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/contributors","subscribers_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/subscribers","subscription_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/subscription","commits_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/contents/{+path}","compare_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/merges","archive_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/downloads","issues_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues{/number}","pulls_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/labels{/name}","releases_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/releases{/id}","deployments_url":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/deployments","created_at":"2017-11-22T13:25:18Z","updated_at":"2017-11-29T14:24:44Z","pushed_at":"2018-03-06T14:06:05Z","git_url":"git://github.com/andrei-pastukhou/FrontCamp.git","ssh_url":"git@github.com:andrei-pastukhou/FrontCamp.git","clone_url":"https://github.com/andrei-pastukhou/FrontCamp.git","svn_url":"https://github.com/andrei-pastukhou/FrontCamp","homepage":null,"size":1392,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":0,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16"},"html":{"href":"https://github.com/andrei-pastukhou/FrontCamp/pull/16"},"issue":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/16"},"comments":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/andrei-pastukhou/FrontCamp/statuses/95c4d84905ec99881e858e38c804a93155d8f106"}},"author_association":"OWNER"}}
{"actor":{"display_login":"vladislavkovaliov"}}