{"action":"created","comment":{"url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/comments/187588333","pull_request_review_id":119401252,"id":187588333,"diff_hunk":"@@ -1,47 +1,34 @@\n-exports._check = () => {\n-  // DRY up the codebase with this function\n-  // First, move the duplicate error checking code here\n-  // Then, invoke this function inside each of the others\n-  // HINT: you can invoke this function with exports._check()\n-};\n+exports._check = (x,y) => {\n \n-exports.add = (x, y) => {\n   if (typeof x !== 'number') {\n     throw new TypeError(`${x} is not a number`);\n   }\n   if (typeof y !== 'number') {\n     throw new TypeError(`${y} is not a number`);\n-  }\n+\t}\n+    // DRY up the codebase with this function\n+  // First, move the duplicate error checking code here\n+  // Then, invoke this function inside each of the others\n+  // HINT: you can invoke this function with exports._check()\n+};\n+\n+exports.add = (x, y) => {\n+\texports._check(x,y);","path":"src/calculator.js","position":24,"original_position":24,"commit_id":"a0c8bd99e246eb67d0c21cb20924bbe433b1d6fc","original_commit_id":"a0c8bd99e246eb67d0c21cb20924bbe433b1d6fc","user":{"login":"dantharejabot","id":28961555,"avatar_url":"https://avatars0.githubusercontent.com/u/28961555?v=4","gravatar_id":"","url":"https://api.github.com/users/dantharejabot","html_url":"https://github.com/dantharejabot","followers_url":"https://api.github.com/users/dantharejabot/followers","following_url":"https://api.github.com/users/dantharejabot/following{/other_user}","gists_url":"https://api.github.com/users/dantharejabot/gists{/gist_id}","starred_url":"https://api.github.com/users/dantharejabot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantharejabot/subscriptions","organizations_url":"https://api.github.com/users/dantharejabot/orgs","repos_url":"https://api.github.com/users/dantharejabot/repos","events_url":"https://api.github.com/users/dantharejabot/events{/privacy}","received_events_url":"https://api.github.com/users/dantharejabot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 2 spaces but found 1 tab.\n\n###### See http://eslint.org/docs/rules/indent for details about this rule","created_at":"2018-05-11T11:26:53Z","updated_at":"2018-05-11T11:26:55Z","html_url":"https://github.com/danthareja/contribute-to-open-source/pull/179#discussion_r187588333","pull_request_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/comments/187588333"},"html":{"href":"https://github.com/danthareja/contribute-to-open-source/pull/179#discussion_r187588333"},"pull_request":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179"}}},"pull_request":{"url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179","id":187437448,"html_url":"https://github.com/danthareja/contribute-to-open-source/pull/179","diff_url":"https://github.com/danthareja/contribute-to-open-source/pull/179.diff","patch_url":"https://github.com/danthareja/contribute-to-open-source/pull/179.patch","issue_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/179","number":179,"state":"open","locked":false,"title":"\"Implement _check\"","user":{"login":"abinpaul1","id":36098125,"avatar_url":"https://avatars2.githubusercontent.com/u/36098125?v=4","gravatar_id":"","url":"https://api.github.com/users/abinpaul1","html_url":"https://github.com/abinpaul1","followers_url":"https://api.github.com/users/abinpaul1/followers","following_url":"https://api.github.com/users/abinpaul1/following{/other_user}","gists_url":"https://api.github.com/users/abinpaul1/gists{/gist_id}","starred_url":"https://api.github.com/users/abinpaul1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinpaul1/subscriptions","organizations_url":"https://api.github.com/users/abinpaul1/orgs","repos_url":"https://api.github.com/users/abinpaul1/repos","events_url":"https://api.github.com/users/abinpaul1/events{/privacy}","received_events_url":"https://api.github.com/users/abinpaul1/received_events","type":"User","site_admin":false},"body":"The check function was completed and tested\r\nThank you for this oppurtunity.\r\n","created_at":"2018-05-11T11:24:44Z","updated_at":"2018-05-11T11:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e0bfe135b19d3d054f0aa60b2e0c281353d1ae2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179/commits","review_comments_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179/comments","review_comment_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/179/comments","statuses_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/statuses/a0c8bd99e246eb67d0c21cb20924bbe433b1d6fc","head":{"label":"abinpaul1:master","ref":"master","sha":"a0c8bd99e246eb67d0c21cb20924bbe433b1d6fc","user":{"login":"abinpaul1","id":36098125,"avatar_url":"https://avatars2.githubusercontent.com/u/36098125?v=4","gravatar_id":"","url":"https://api.github.com/users/abinpaul1","html_url":"https://github.com/abinpaul1","followers_url":"https://api.github.com/users/abinpaul1/followers","following_url":"https://api.github.com/users/abinpaul1/following{/other_user}","gists_url":"https://api.github.com/users/abinpaul1/gists{/gist_id}","starred_url":"https://api.github.com/users/abinpaul1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinpaul1/subscriptions","organizations_url":"https://api.github.com/users/abinpaul1/orgs","repos_url":"https://api.github.com/users/abinpaul1/repos","events_url":"https://api.github.com/users/abinpaul1/events{/privacy}","received_events_url":"https://api.github.com/users/abinpaul1/received_events","type":"User","site_admin":false},"repo":{"id":133023659,"name":"contribute-to-open-source","full_name":"abinpaul1/contribute-to-open-source","owner":{"login":"abinpaul1","id":36098125,"avatar_url":"https://avatars2.githubusercontent.com/u/36098125?v=4","gravatar_id":"","url":"https://api.github.com/users/abinpaul1","html_url":"https://github.com/abinpaul1","followers_url":"https://api.github.com/users/abinpaul1/followers","following_url":"https://api.github.com/users/abinpaul1/following{/other_user}","gists_url":"https://api.github.com/users/abinpaul1/gists{/gist_id}","starred_url":"https://api.github.com/users/abinpaul1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abinpaul1/subscriptions","organizations_url":"https://api.github.com/users/abinpaul1/orgs","repos_url":"https://api.github.com/users/abinpaul1/repos","events_url":"https://api.github.com/users/abinpaul1/events{/privacy}","received_events_url":"https://api.github.com/users/abinpaul1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abinpaul1/contribute-to-open-source","description":"Learn the GitHub workflow by contributing code in a fun simulation project ","fork":true,"url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source","forks_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/forks","keys_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/teams","hooks_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/hooks","issue_events_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/issues/events{/number}","events_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/events","assignees_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/assignees{/user}","branches_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/branches{/branch}","tags_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/tags","blobs_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/git/refs{/sha}","trees_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/statuses/{sha}","languages_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/languages","stargazers_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/stargazers","contributors_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/contributors","subscribers_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/subscribers","subscription_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/subscription","commits_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/commits{/sha}","git_commits_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/git/commits{/sha}","comments_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/comments{/number}","issue_comment_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/issues/comments{/number}","contents_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/contents/{+path}","compare_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/merges","archive_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/downloads","issues_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/issues{/number}","pulls_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/pulls{/number}","milestones_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/milestones{/number}","notifications_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/labels{/name}","releases_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/releases{/id}","deployments_url":"https://api.github.com/repos/abinpaul1/contribute-to-open-source/deployments","created_at":"2018-05-11T10:05:50Z","updated_at":"2018-05-11T11:20:55Z","pushed_at":"2018-05-11T11:20:53Z","git_url":"git://github.com/abinpaul1/contribute-to-open-source.git","ssh_url":"git@github.com:abinpaul1/contribute-to-open-source.git","clone_url":"https://github.com/abinpaul1/contribute-to-open-source.git","svn_url":"https://github.com/abinpaul1/contribute-to-open-source","homepage":"","size":30,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danthareja:abinpaul1","ref":"abinpaul1","sha":"bad0f18264e01ea200b94ea3b9c9b706eea52f29","user":{"login":"danthareja","id":6980359,"avatar_url":"https://avatars1.githubusercontent.com/u/6980359?v=4","gravatar_id":"","url":"https://api.github.com/users/danthareja","html_url":"https://github.com/danthareja","followers_url":"https://api.github.com/users/danthareja/followers","following_url":"https://api.github.com/users/danthareja/following{/other_user}","gists_url":"https://api.github.com/users/danthareja/gists{/gist_id}","starred_url":"https://api.github.com/users/danthareja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danthareja/subscriptions","organizations_url":"https://api.github.com/users/danthareja/orgs","repos_url":"https://api.github.com/users/danthareja/repos","events_url":"https://api.github.com/users/danthareja/events{/privacy}","received_events_url":"https://api.github.com/users/danthareja/received_events","type":"User","site_admin":false},"repo":{"id":109887187,"name":"contribute-to-open-source","full_name":"danthareja/contribute-to-open-source","owner":{"login":"danthareja","id":6980359,"avatar_url":"https://avatars1.githubusercontent.com/u/6980359?v=4","gravatar_id":"","url":"https://api.github.com/users/danthareja","html_url":"https://github.com/danthareja","followers_url":"https://api.github.com/users/danthareja/followers","following_url":"https://api.github.com/users/danthareja/following{/other_user}","gists_url":"https://api.github.com/users/danthareja/gists{/gist_id}","starred_url":"https://api.github.com/users/danthareja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danthareja/subscriptions","organizations_url":"https://api.github.com/users/danthareja/orgs","repos_url":"https://api.github.com/users/danthareja/repos","events_url":"https://api.github.com/users/danthareja/events{/privacy}","received_events_url":"https://api.github.com/users/danthareja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danthareja/contribute-to-open-source","description":"Learn the GitHub workflow by contributing code in a fun simulation project ","fork":false,"url":"https://api.github.com/repos/danthareja/contribute-to-open-source","forks_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/forks","keys_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/teams","hooks_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/hooks","issue_events_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/events{/number}","events_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/events","assignees_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/assignees{/user}","branches_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/branches{/branch}","tags_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/tags","blobs_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/git/refs{/sha}","trees_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/statuses/{sha}","languages_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/languages","stargazers_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/stargazers","contributors_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/contributors","subscribers_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/subscribers","subscription_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/subscription","commits_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/commits{/sha}","git_commits_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/git/commits{/sha}","comments_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/comments{/number}","issue_comment_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/comments{/number}","contents_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/contents/{+path}","compare_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/merges","archive_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/downloads","issues_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues{/number}","pulls_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls{/number}","milestones_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/milestones{/number}","notifications_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/labels{/name}","releases_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/releases{/id}","deployments_url":"https://api.github.com/repos/danthareja/contribute-to-open-source/deployments","created_at":"2017-11-07T20:27:58Z","updated_at":"2018-05-11T08:11:33Z","pushed_at":"2018-05-11T11:24:45Z","git_url":"git://github.com/danthareja/contribute-to-open-source.git","ssh_url":"git@github.com:danthareja/contribute-to-open-source.git","clone_url":"https://github.com/danthareja/contribute-to-open-source.git","svn_url":"https://github.com/danthareja/contribute-to-open-source","homepage":"","size":30,"stargazers_count":146,"watchers_count":146,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":169,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":169,"open_issues":18,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179"},"html":{"href":"https://github.com/danthareja/contribute-to-open-source/pull/179"},"issue":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/179"},"comments":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/danthareja/contribute-to-open-source/statuses/a0c8bd99e246eb67d0c21cb20924bbe433b1d6fc"}},"author_association":"NONE"}}
{"actor":{"display_login":"dantharejabot"}}