{"action":"created","comment":{"url":"https://api.github.com/repos/maltez/angular_school/pulls/comments/208089595","pull_request_review_id":143829924,"id":208089595,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODA4OTU5NQ==","diff_hunk":"@@ -0,0 +1,11 @@\n+function fact(num: number): number {\n+    if (num === 0) {","path":"HomeWork/shukin.nikolay/hw1/src/hw1.factorial.ts","position":2,"original_position":2,"commit_id":"ab34e0941aee17cdab4cee4cf5910cf76a10138f","original_commit_id":"ab34e0941aee17cdab4cee4cf5910cf76a10138f","user":{"login":"maltez","id":3845223,"node_id":"MDQ6VXNlcjM4NDUyMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3845223?v=4","gravatar_id":"","url":"https://api.github.com/users/maltez","html_url":"https://github.com/maltez","followers_url":"https://api.github.com/users/maltez/followers","following_url":"https://api.github.com/users/maltez/following{/other_user}","gists_url":"https://api.github.com/users/maltez/gists{/gist_id}","starred_url":"https://api.github.com/users/maltez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltez/subscriptions","organizations_url":"https://api.github.com/users/maltez/orgs","repos_url":"https://api.github.com/users/maltez/repos","events_url":"https://api.github.com/users/maltez/events{/privacy}","received_events_url":"https://api.github.com/users/maltez/received_events","type":"User","site_admin":false},"body":"Too much ifs - refactor","created_at":"2018-08-07T03:32:03Z","updated_at":"2018-08-07T03:32:50Z","html_url":"https://github.com/maltez/angular_school/pull/9#discussion_r208089595","pull_request_url":"https://api.github.com/repos/maltez/angular_school/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/comments/208089595"},"html":{"href":"https://github.com/maltez/angular_school/pull/9#discussion_r208089595"},"pull_request":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/maltez/angular_school/pulls/9","id":205720168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzIwMTY4","html_url":"https://github.com/maltez/angular_school/pull/9","diff_url":"https://github.com/maltez/angular_school/pull/9.diff","patch_url":"https://github.com/maltez/angular_school/pull/9.patch","issue_url":"https://api.github.com/repos/maltez/angular_school/issues/9","number":9,"state":"open","locked":false,"title":"homework 1","user":{"login":"kola108","id":29662768,"node_id":"MDQ6VXNlcjI5NjYyNzY4","avatar_url":"https://avatars0.githubusercontent.com/u/29662768?v=4","gravatar_id":"","url":"https://api.github.com/users/kola108","html_url":"https://github.com/kola108","followers_url":"https://api.github.com/users/kola108/followers","following_url":"https://api.github.com/users/kola108/following{/other_user}","gists_url":"https://api.github.com/users/kola108/gists{/gist_id}","starred_url":"https://api.github.com/users/kola108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kola108/subscriptions","organizations_url":"https://api.github.com/users/kola108/orgs","repos_url":"https://api.github.com/users/kola108/repos","events_url":"https://api.github.com/users/kola108/events{/privacy}","received_events_url":"https://api.github.com/users/kola108/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-02T12:38:52Z","updated_at":"2018-08-07T03:32:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b328533e3f4d03efb9b7af101d9d9cb04a572d9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/maltez/angular_school/pulls/9/commits","review_comments_url":"https://api.github.com/repos/maltez/angular_school/pulls/9/comments","review_comment_url":"https://api.github.com/repos/maltez/angular_school/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maltez/angular_school/issues/9/comments","statuses_url":"https://api.github.com/repos/maltez/angular_school/statuses/ab34e0941aee17cdab4cee4cf5910cf76a10138f","head":{"label":"maltez:shukin-nikolay-hw-1","ref":"shukin-nikolay-hw-1","sha":"ab34e0941aee17cdab4cee4cf5910cf76a10138f","user":{"login":"maltez","id":3845223,"node_id":"MDQ6VXNlcjM4NDUyMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3845223?v=4","gravatar_id":"","url":"https://api.github.com/users/maltez","html_url":"https://github.com/maltez","followers_url":"https://api.github.com/users/maltez/followers","following_url":"https://api.github.com/users/maltez/following{/other_user}","gists_url":"https://api.github.com/users/maltez/gists{/gist_id}","starred_url":"https://api.github.com/users/maltez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltez/subscriptions","organizations_url":"https://api.github.com/users/maltez/orgs","repos_url":"https://api.github.com/users/maltez/repos","events_url":"https://api.github.com/users/maltez/events{/privacy}","received_events_url":"https://api.github.com/users/maltez/received_events","type":"User","site_admin":false},"repo":{"id":143107792,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMxMDc3OTI=","name":"angular_school","full_name":"maltez/angular_school","owner":{"login":"maltez","id":3845223,"node_id":"MDQ6VXNlcjM4NDUyMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3845223?v=4","gravatar_id":"","url":"https://api.github.com/users/maltez","html_url":"https://github.com/maltez","followers_url":"https://api.github.com/users/maltez/followers","following_url":"https://api.github.com/users/maltez/following{/other_user}","gists_url":"https://api.github.com/users/maltez/gists{/gist_id}","starred_url":"https://api.github.com/users/maltez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltez/subscriptions","organizations_url":"https://api.github.com/users/maltez/orgs","repos_url":"https://api.github.com/users/maltez/repos","events_url":"https://api.github.com/users/maltez/events{/privacy}","received_events_url":"https://api.github.com/users/maltez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maltez/angular_school","description":"Angular course for noobies  who wants learn angular but has no a lot of time.","fork":false,"url":"https://api.github.com/repos/maltez/angular_school","forks_url":"https://api.github.com/repos/maltez/angular_school/forks","keys_url":"https://api.github.com/repos/maltez/angular_school/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maltez/angular_school/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maltez/angular_school/teams","hooks_url":"https://api.github.com/repos/maltez/angular_school/hooks","issue_events_url":"https://api.github.com/repos/maltez/angular_school/issues/events{/number}","events_url":"https://api.github.com/repos/maltez/angular_school/events","assignees_url":"https://api.github.com/repos/maltez/angular_school/assignees{/user}","branches_url":"https://api.github.com/repos/maltez/angular_school/branches{/branch}","tags_url":"https://api.github.com/repos/maltez/angular_school/tags","blobs_url":"https://api.github.com/repos/maltez/angular_school/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maltez/angular_school/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maltez/angular_school/git/refs{/sha}","trees_url":"https://api.github.com/repos/maltez/angular_school/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maltez/angular_school/statuses/{sha}","languages_url":"https://api.github.com/repos/maltez/angular_school/languages","stargazers_url":"https://api.github.com/repos/maltez/angular_school/stargazers","contributors_url":"https://api.github.com/repos/maltez/angular_school/contributors","subscribers_url":"https://api.github.com/repos/maltez/angular_school/subscribers","subscription_url":"https://api.github.com/repos/maltez/angular_school/subscription","commits_url":"https://api.github.com/repos/maltez/angular_school/commits{/sha}","git_commits_url":"https://api.github.com/repos/maltez/angular_school/git/commits{/sha}","comments_url":"https://api.github.com/repos/maltez/angular_school/comments{/number}","issue_comment_url":"https://api.github.com/repos/maltez/angular_school/issues/comments{/number}","contents_url":"https://api.github.com/repos/maltez/angular_school/contents/{+path}","compare_url":"https://api.github.com/repos/maltez/angular_school/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maltez/angular_school/merges","archive_url":"https://api.github.com/repos/maltez/angular_school/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maltez/angular_school/downloads","issues_url":"https://api.github.com/repos/maltez/angular_school/issues{/number}","pulls_url":"https://api.github.com/repos/maltez/angular_school/pulls{/number}","milestones_url":"https://api.github.com/repos/maltez/angular_school/milestones{/number}","notifications_url":"https://api.github.com/repos/maltez/angular_school/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maltez/angular_school/labels{/name}","releases_url":"https://api.github.com/repos/maltez/angular_school/releases{/id}","deployments_url":"https://api.github.com/repos/maltez/angular_school/deployments","created_at":"2018-08-01T05:25:57Z","updated_at":"2018-08-07T03:31:24Z","pushed_at":"2018-08-07T03:31:25Z","git_url":"git://github.com/maltez/angular_school.git","ssh_url":"git@github.com:maltez/angular_school.git","clone_url":"https://github.com/maltez/angular_school.git","svn_url":"https://github.com/maltez/angular_school","homepage":null,"size":4554,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":7,"watchers":3,"default_branch":"master"}},"base":{"label":"maltez:master","ref":"master","sha":"8dc60752e4dd1478ebffd72660296bc2f062c22a","user":{"login":"maltez","id":3845223,"node_id":"MDQ6VXNlcjM4NDUyMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3845223?v=4","gravatar_id":"","url":"https://api.github.com/users/maltez","html_url":"https://github.com/maltez","followers_url":"https://api.github.com/users/maltez/followers","following_url":"https://api.github.com/users/maltez/following{/other_user}","gists_url":"https://api.github.com/users/maltez/gists{/gist_id}","starred_url":"https://api.github.com/users/maltez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltez/subscriptions","organizations_url":"https://api.github.com/users/maltez/orgs","repos_url":"https://api.github.com/users/maltez/repos","events_url":"https://api.github.com/users/maltez/events{/privacy}","received_events_url":"https://api.github.com/users/maltez/received_events","type":"User","site_admin":false},"repo":{"id":143107792,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMxMDc3OTI=","name":"angular_school","full_name":"maltez/angular_school","owner":{"login":"maltez","id":3845223,"node_id":"MDQ6VXNlcjM4NDUyMjM=","avatar_url":"https://avatars0.githubusercontent.com/u/3845223?v=4","gravatar_id":"","url":"https://api.github.com/users/maltez","html_url":"https://github.com/maltez","followers_url":"https://api.github.com/users/maltez/followers","following_url":"https://api.github.com/users/maltez/following{/other_user}","gists_url":"https://api.github.com/users/maltez/gists{/gist_id}","starred_url":"https://api.github.com/users/maltez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maltez/subscriptions","organizations_url":"https://api.github.com/users/maltez/orgs","repos_url":"https://api.github.com/users/maltez/repos","events_url":"https://api.github.com/users/maltez/events{/privacy}","received_events_url":"https://api.github.com/users/maltez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maltez/angular_school","description":"Angular course for noobies  who wants learn angular but has no a lot of time.","fork":false,"url":"https://api.github.com/repos/maltez/angular_school","forks_url":"https://api.github.com/repos/maltez/angular_school/forks","keys_url":"https://api.github.com/repos/maltez/angular_school/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maltez/angular_school/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maltez/angular_school/teams","hooks_url":"https://api.github.com/repos/maltez/angular_school/hooks","issue_events_url":"https://api.github.com/repos/maltez/angular_school/issues/events{/number}","events_url":"https://api.github.com/repos/maltez/angular_school/events","assignees_url":"https://api.github.com/repos/maltez/angular_school/assignees{/user}","branches_url":"https://api.github.com/repos/maltez/angular_school/branches{/branch}","tags_url":"https://api.github.com/repos/maltez/angular_school/tags","blobs_url":"https://api.github.com/repos/maltez/angular_school/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maltez/angular_school/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maltez/angular_school/git/refs{/sha}","trees_url":"https://api.github.com/repos/maltez/angular_school/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maltez/angular_school/statuses/{sha}","languages_url":"https://api.github.com/repos/maltez/angular_school/languages","stargazers_url":"https://api.github.com/repos/maltez/angular_school/stargazers","contributors_url":"https://api.github.com/repos/maltez/angular_school/contributors","subscribers_url":"https://api.github.com/repos/maltez/angular_school/subscribers","subscription_url":"https://api.github.com/repos/maltez/angular_school/subscription","commits_url":"https://api.github.com/repos/maltez/angular_school/commits{/sha}","git_commits_url":"https://api.github.com/repos/maltez/angular_school/git/commits{/sha}","comments_url":"https://api.github.com/repos/maltez/angular_school/comments{/number}","issue_comment_url":"https://api.github.com/repos/maltez/angular_school/issues/comments{/number}","contents_url":"https://api.github.com/repos/maltez/angular_school/contents/{+path}","compare_url":"https://api.github.com/repos/maltez/angular_school/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maltez/angular_school/merges","archive_url":"https://api.github.com/repos/maltez/angular_school/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maltez/angular_school/downloads","issues_url":"https://api.github.com/repos/maltez/angular_school/issues{/number}","pulls_url":"https://api.github.com/repos/maltez/angular_school/pulls{/number}","milestones_url":"https://api.github.com/repos/maltez/angular_school/milestones{/number}","notifications_url":"https://api.github.com/repos/maltez/angular_school/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maltez/angular_school/labels{/name}","releases_url":"https://api.github.com/repos/maltez/angular_school/releases{/id}","deployments_url":"https://api.github.com/repos/maltez/angular_school/deployments","created_at":"2018-08-01T05:25:57Z","updated_at":"2018-08-07T03:31:24Z","pushed_at":"2018-08-07T03:31:25Z","git_url":"git://github.com/maltez/angular_school.git","ssh_url":"git@github.com:maltez/angular_school.git","clone_url":"https://github.com/maltez/angular_school.git","svn_url":"https://github.com/maltez/angular_school","homepage":null,"size":4554,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/9"},"html":{"href":"https://github.com/maltez/angular_school/pull/9"},"issue":{"href":"https://api.github.com/repos/maltez/angular_school/issues/9"},"comments":{"href":"https://api.github.com/repos/maltez/angular_school/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maltez/angular_school/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/maltez/angular_school/statuses/ab34e0941aee17cdab4cee4cf5910cf76a10138f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"maltez"}}