{"action":"created","comment":{"url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/comments/81786102","pull_request_review_id":2740441,"id":81786102,"diff_hunk":"@@ -0,0 +1,32 @@\n+import {\n+  ACTION_SET_ACTIVE_COURSE_ID,\n+  ACTION_COURSE_DELETE,\n+  ACTION_COURSE_ADD,\n+  ACTION_COURSE_CREATE,\n+} from './../constants/ActionTypes';\n+\n+export const activeCourseId = (state = null, action) => {\n+  switch (action.type) {\n+    case ACTION_SET_ACTIVE_COURSE_ID:\n+      {\n+        return action.payload;\n+      }\n+    case ACTION_COURSE_DELETE:","path":"src/js/redux/reducers/ActiveCourseId.js","position":14,"original_position":14,"commit_id":"aecaacac62270a15b71ffce4c9c4a3e130f8e800","original_commit_id":"aecaacac62270a15b71ffce4c9c4a3e130f8e800","user":{"login":"vaukalak","id":1864367,"avatar_url":"https://avatars.githubusercontent.com/u/1864367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaukalak","html_url":"https://github.com/vaukalak","followers_url":"https://api.github.com/users/vaukalak/followers","following_url":"https://api.github.com/users/vaukalak/following{/other_user}","gists_url":"https://api.github.com/users/vaukalak/gists{/gist_id}","starred_url":"https://api.github.com/users/vaukalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaukalak/subscriptions","organizations_url":"https://api.github.com/users/vaukalak/orgs","repos_url":"https://api.github.com/users/vaukalak/repos","events_url":"https://api.github.com/users/vaukalak/events{/privacy}","received_events_url":"https://api.github.com/users/vaukalak/received_events","type":"User","site_admin":false},"body":"чаму тут `return null` а ніжэй `return ''` ? у абодвух выпадках мае быць `return null`","created_at":"2016-10-04T15:38:16Z","updated_at":"2016-10-04T15:39:50Z","html_url":"https://github.com/vaukalak/shkola-863-a/pull/24#discussion_r81786102","pull_request_url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/comments/81786102"},"html":{"href":"https://github.com/vaukalak/shkola-863-a/pull/24#discussion_r81786102"},"pull_request":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24","id":87876405,"html_url":"https://github.com/vaukalak/shkola-863-a/pull/24","diff_url":"https://github.com/vaukalak/shkola-863-a/pull/24.diff","patch_url":"https://github.com/vaukalak/shkola-863-a/pull/24.patch","issue_url":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/24","number":24,"state":"open","locked":false,"title":"refactor redux","user":{"login":"code-by","id":4306445,"avatar_url":"https://avatars.githubusercontent.com/u/4306445?v=3","gravatar_id":"","url":"https://api.github.com/users/code-by","html_url":"https://github.com/code-by","followers_url":"https://api.github.com/users/code-by/followers","following_url":"https://api.github.com/users/code-by/following{/other_user}","gists_url":"https://api.github.com/users/code-by/gists{/gist_id}","starred_url":"https://api.github.com/users/code-by/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-by/subscriptions","organizations_url":"https://api.github.com/users/code-by/orgs","repos_url":"https://api.github.com/users/code-by/repos","events_url":"https://api.github.com/users/code-by/events{/privacy}","received_events_url":"https://api.github.com/users/code-by/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-04T11:30:02Z","updated_at":"2016-10-04T15:39:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7065b635db2242e3d314c6972e7dcff57101d69","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24/commits","review_comments_url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24/comments","review_comment_url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/24/comments","statuses_url":"https://api.github.com/repos/vaukalak/shkola-863-a/statuses/aecaacac62270a15b71ffce4c9c4a3e130f8e800","head":{"label":"code-by:feature/redux-refactor","ref":"feature/redux-refactor","sha":"aecaacac62270a15b71ffce4c9c4a3e130f8e800","user":{"login":"code-by","id":4306445,"avatar_url":"https://avatars.githubusercontent.com/u/4306445?v=3","gravatar_id":"","url":"https://api.github.com/users/code-by","html_url":"https://github.com/code-by","followers_url":"https://api.github.com/users/code-by/followers","following_url":"https://api.github.com/users/code-by/following{/other_user}","gists_url":"https://api.github.com/users/code-by/gists{/gist_id}","starred_url":"https://api.github.com/users/code-by/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-by/subscriptions","organizations_url":"https://api.github.com/users/code-by/orgs","repos_url":"https://api.github.com/users/code-by/repos","events_url":"https://api.github.com/users/code-by/events{/privacy}","received_events_url":"https://api.github.com/users/code-by/received_events","type":"User","site_admin":false},"repo":{"id":60240205,"name":"shkola-863-a","full_name":"code-by/shkola-863-a","owner":{"login":"code-by","id":4306445,"avatar_url":"https://avatars.githubusercontent.com/u/4306445?v=3","gravatar_id":"","url":"https://api.github.com/users/code-by","html_url":"https://github.com/code-by","followers_url":"https://api.github.com/users/code-by/followers","following_url":"https://api.github.com/users/code-by/following{/other_user}","gists_url":"https://api.github.com/users/code-by/gists{/gist_id}","starred_url":"https://api.github.com/users/code-by/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-by/subscriptions","organizations_url":"https://api.github.com/users/code-by/orgs","repos_url":"https://api.github.com/users/code-by/repos","events_url":"https://api.github.com/users/code-by/events{/privacy}","received_events_url":"https://api.github.com/users/code-by/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/code-by/shkola-863-a","description":"","fork":true,"url":"https://api.github.com/repos/code-by/shkola-863-a","forks_url":"https://api.github.com/repos/code-by/shkola-863-a/forks","keys_url":"https://api.github.com/repos/code-by/shkola-863-a/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-by/shkola-863-a/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-by/shkola-863-a/teams","hooks_url":"https://api.github.com/repos/code-by/shkola-863-a/hooks","issue_events_url":"https://api.github.com/repos/code-by/shkola-863-a/issues/events{/number}","events_url":"https://api.github.com/repos/code-by/shkola-863-a/events","assignees_url":"https://api.github.com/repos/code-by/shkola-863-a/assignees{/user}","branches_url":"https://api.github.com/repos/code-by/shkola-863-a/branches{/branch}","tags_url":"https://api.github.com/repos/code-by/shkola-863-a/tags","blobs_url":"https://api.github.com/repos/code-by/shkola-863-a/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-by/shkola-863-a/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-by/shkola-863-a/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-by/shkola-863-a/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-by/shkola-863-a/statuses/{sha}","languages_url":"https://api.github.com/repos/code-by/shkola-863-a/languages","stargazers_url":"https://api.github.com/repos/code-by/shkola-863-a/stargazers","contributors_url":"https://api.github.com/repos/code-by/shkola-863-a/contributors","subscribers_url":"https://api.github.com/repos/code-by/shkola-863-a/subscribers","subscription_url":"https://api.github.com/repos/code-by/shkola-863-a/subscription","commits_url":"https://api.github.com/repos/code-by/shkola-863-a/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-by/shkola-863-a/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-by/shkola-863-a/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-by/shkola-863-a/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-by/shkola-863-a/contents/{+path}","compare_url":"https://api.github.com/repos/code-by/shkola-863-a/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-by/shkola-863-a/merges","archive_url":"https://api.github.com/repos/code-by/shkola-863-a/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-by/shkola-863-a/downloads","issues_url":"https://api.github.com/repos/code-by/shkola-863-a/issues{/number}","pulls_url":"https://api.github.com/repos/code-by/shkola-863-a/pulls{/number}","milestones_url":"https://api.github.com/repos/code-by/shkola-863-a/milestones{/number}","notifications_url":"https://api.github.com/repos/code-by/shkola-863-a/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-by/shkola-863-a/labels{/name}","releases_url":"https://api.github.com/repos/code-by/shkola-863-a/releases{/id}","deployments_url":"https://api.github.com/repos/code-by/shkola-863-a/deployments","created_at":"2016-06-02T07:00:01Z","updated_at":"2016-06-03T16:58:19Z","pushed_at":"2016-10-04T11:27:58Z","git_url":"git://github.com/code-by/shkola-863-a.git","ssh_url":"git@github.com:code-by/shkola-863-a.git","clone_url":"https://github.com/code-by/shkola-863-a.git","svn_url":"https://github.com/code-by/shkola-863-a","homepage":null,"size":1058,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vaukalak:master","ref":"master","sha":"111421bff456b0c02da1c670506d358b8e1354dd","user":{"login":"vaukalak","id":1864367,"avatar_url":"https://avatars.githubusercontent.com/u/1864367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaukalak","html_url":"https://github.com/vaukalak","followers_url":"https://api.github.com/users/vaukalak/followers","following_url":"https://api.github.com/users/vaukalak/following{/other_user}","gists_url":"https://api.github.com/users/vaukalak/gists{/gist_id}","starred_url":"https://api.github.com/users/vaukalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaukalak/subscriptions","organizations_url":"https://api.github.com/users/vaukalak/orgs","repos_url":"https://api.github.com/users/vaukalak/repos","events_url":"https://api.github.com/users/vaukalak/events{/privacy}","received_events_url":"https://api.github.com/users/vaukalak/received_events","type":"User","site_admin":false},"repo":{"id":59603283,"name":"shkola-863-a","full_name":"vaukalak/shkola-863-a","owner":{"login":"vaukalak","id":1864367,"avatar_url":"https://avatars.githubusercontent.com/u/1864367?v=3","gravatar_id":"","url":"https://api.github.com/users/vaukalak","html_url":"https://github.com/vaukalak","followers_url":"https://api.github.com/users/vaukalak/followers","following_url":"https://api.github.com/users/vaukalak/following{/other_user}","gists_url":"https://api.github.com/users/vaukalak/gists{/gist_id}","starred_url":"https://api.github.com/users/vaukalak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaukalak/subscriptions","organizations_url":"https://api.github.com/users/vaukalak/orgs","repos_url":"https://api.github.com/users/vaukalak/repos","events_url":"https://api.github.com/users/vaukalak/events{/privacy}","received_events_url":"https://api.github.com/users/vaukalak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vaukalak/shkola-863-a","description":"","fork":false,"url":"https://api.github.com/repos/vaukalak/shkola-863-a","forks_url":"https://api.github.com/repos/vaukalak/shkola-863-a/forks","keys_url":"https://api.github.com/repos/vaukalak/shkola-863-a/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaukalak/shkola-863-a/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaukalak/shkola-863-a/teams","hooks_url":"https://api.github.com/repos/vaukalak/shkola-863-a/hooks","issue_events_url":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/events{/number}","events_url":"https://api.github.com/repos/vaukalak/shkola-863-a/events","assignees_url":"https://api.github.com/repos/vaukalak/shkola-863-a/assignees{/user}","branches_url":"https://api.github.com/repos/vaukalak/shkola-863-a/branches{/branch}","tags_url":"https://api.github.com/repos/vaukalak/shkola-863-a/tags","blobs_url":"https://api.github.com/repos/vaukalak/shkola-863-a/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaukalak/shkola-863-a/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaukalak/shkola-863-a/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaukalak/shkola-863-a/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaukalak/shkola-863-a/statuses/{sha}","languages_url":"https://api.github.com/repos/vaukalak/shkola-863-a/languages","stargazers_url":"https://api.github.com/repos/vaukalak/shkola-863-a/stargazers","contributors_url":"https://api.github.com/repos/vaukalak/shkola-863-a/contributors","subscribers_url":"https://api.github.com/repos/vaukalak/shkola-863-a/subscribers","subscription_url":"https://api.github.com/repos/vaukalak/shkola-863-a/subscription","commits_url":"https://api.github.com/repos/vaukalak/shkola-863-a/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaukalak/shkola-863-a/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaukalak/shkola-863-a/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaukalak/shkola-863-a/contents/{+path}","compare_url":"https://api.github.com/repos/vaukalak/shkola-863-a/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaukalak/shkola-863-a/merges","archive_url":"https://api.github.com/repos/vaukalak/shkola-863-a/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaukalak/shkola-863-a/downloads","issues_url":"https://api.github.com/repos/vaukalak/shkola-863-a/issues{/number}","pulls_url":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls{/number}","milestones_url":"https://api.github.com/repos/vaukalak/shkola-863-a/milestones{/number}","notifications_url":"https://api.github.com/repos/vaukalak/shkola-863-a/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaukalak/shkola-863-a/labels{/name}","releases_url":"https://api.github.com/repos/vaukalak/shkola-863-a/releases{/id}","deployments_url":"https://api.github.com/repos/vaukalak/shkola-863-a/deployments","created_at":"2016-05-24T19:44:12Z","updated_at":"2016-06-06T09:49:48Z","pushed_at":"2016-10-04T11:30:02Z","git_url":"git://github.com/vaukalak/shkola-863-a.git","ssh_url":"git@github.com:vaukalak/shkola-863-a.git","clone_url":"https://github.com/vaukalak/shkola-863-a.git","svn_url":"https://github.com/vaukalak/shkola-863-a","homepage":null,"size":1051,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24"},"html":{"href":"https://github.com/vaukalak/shkola-863-a/pull/24"},"issue":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/24"},"comments":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/vaukalak/shkola-863-a/statuses/aecaacac62270a15b71ffce4c9c4a3e130f8e800"}}}}
{"actor":{"display_login":"vaukalak"}}