{"action":"created","comment":{"url":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments/217030767","pull_request_review_id":154647966,"id":217030767,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzAzMDc2Nw==","diff_hunk":"@@ -95,6 +96,8 @@ class RatingsController {\n                 });\n               }\n               averageRating = sum / count;\n+              console.log('----------------');\n+              console.log(ratings);","path":"server/controllers/RatingsController.js","position":13,"original_position":13,"commit_id":"960694e13e8c2ad60615762e734eaf8fd3ebb188","original_commit_id":"960694e13e8c2ad60615762e734eaf8fd3ebb188","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected console statement  no-console","created_at":"2018-09-12T13:31:12Z","updated_at":"2018-09-12T13:31:13Z","html_url":"https://github.com/andela/prometheus-ah/pull/24#discussion_r217030767","pull_request_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments/217030767"},"html":{"href":"https://github.com/andela/prometheus-ah/pull/24#discussion_r217030767"},"pull_request":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/andela/prometheus-ah/pulls/24","id":214245570,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MjQ1NTcw","html_url":"https://github.com/andela/prometheus-ah/pull/24","diff_url":"https://github.com/andela/prometheus-ah/pull/24.diff","patch_url":"https://github.com/andela/prometheus-ah/pull/24.patch","issue_url":"https://api.github.com/repos/andela/prometheus-ah/issues/24","number":24,"state":"open","locked":false,"title":"#159987750 Implement endpoints for users to bookmark articles","user":{"login":"kingsman20","id":20397262,"node_id":"MDQ6VXNlcjIwMzk3MjYy","avatar_url":"https://avatars2.githubusercontent.com/u/20397262?v=4","gravatar_id":"","url":"https://api.github.com/users/kingsman20","html_url":"https://github.com/kingsman20","followers_url":"https://api.github.com/users/kingsman20/followers","following_url":"https://api.github.com/users/kingsman20/following{/other_user}","gists_url":"https://api.github.com/users/kingsman20/gists{/gist_id}","starred_url":"https://api.github.com/users/kingsman20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingsman20/subscriptions","organizations_url":"https://api.github.com/users/kingsman20/orgs","repos_url":"https://api.github.com/users/kingsman20/repos","events_url":"https://api.github.com/users/kingsman20/events{/privacy}","received_events_url":"https://api.github.com/users/kingsman20/received_events","type":"User","site_admin":false},"body":"**What does this PR do?**\r\nAuthenticated users can bookmark articles, get all articles they bookmarked and delete bookmarked articles\r\n\r\nDescription of Task to be completed?\r\nUser should be able to bookmark or remove bookmarked articles.\r\n``POST api/articles/user/bookmark``\r\n\r\nUser should be able to get all their bookmarks.\r\n``GET api/articles/user/bookmark``\r\n\r\nClone the repo\r\nRun ``npm install``\r\nCreate a ``.env`` file using the sample and supply appropriate values\r\nRun ``npm run test``\r\nRun in postman\r\n\r\nWhat are the relevant pivotal tracker stories?\r\n[159987750](https://www.pivotaltracker.com/story/show/159987750)","created_at":"2018-09-10T09:10:29Z","updated_at":"2018-09-12T13:31:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98d644d9349981b8d87427feb18543f61eef0dc9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"faksam","id":7892780,"node_id":"MDQ6VXNlcjc4OTI3ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/7892780?v=4","gravatar_id":"","url":"https://api.github.com/users/faksam","html_url":"https://github.com/faksam","followers_url":"https://api.github.com/users/faksam/followers","following_url":"https://api.github.com/users/faksam/following{/other_user}","gists_url":"https://api.github.com/users/faksam/gists{/gist_id}","starred_url":"https://api.github.com/users/faksam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faksam/subscriptions","organizations_url":"https://api.github.com/users/faksam/orgs","repos_url":"https://api.github.com/users/faksam/repos","events_url":"https://api.github.com/users/faksam/events{/privacy}","received_events_url":"https://api.github.com/users/faksam/received_events","type":"User","site_admin":false},{"login":"eshaibu","id":25608317,"node_id":"MDQ6VXNlcjI1NjA4MzE3","avatar_url":"https://avatars3.githubusercontent.com/u/25608317?v=4","gravatar_id":"","url":"https://api.github.com/users/eshaibu","html_url":"https://github.com/eshaibu","followers_url":"https://api.github.com/users/eshaibu/followers","following_url":"https://api.github.com/users/eshaibu/following{/other_user}","gists_url":"https://api.github.com/users/eshaibu/gists{/gist_id}","starred_url":"https://api.github.com/users/eshaibu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshaibu/subscriptions","organizations_url":"https://api.github.com/users/eshaibu/orgs","repos_url":"https://api.github.com/users/eshaibu/repos","events_url":"https://api.github.com/users/eshaibu/events{/privacy}","received_events_url":"https://api.github.com/users/eshaibu/received_events","type":"User","site_admin":false},{"login":"omobosteven","id":33634109,"node_id":"MDQ6VXNlcjMzNjM0MTA5","avatar_url":"https://avatars0.githubusercontent.com/u/33634109?v=4","gravatar_id":"","url":"https://api.github.com/users/omobosteven","html_url":"https://github.com/omobosteven","followers_url":"https://api.github.com/users/omobosteven/followers","following_url":"https://api.github.com/users/omobosteven/following{/other_user}","gists_url":"https://api.github.com/users/omobosteven/gists{/gist_id}","starred_url":"https://api.github.com/users/omobosteven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omobosteven/subscriptions","organizations_url":"https://api.github.com/users/omobosteven/orgs","repos_url":"https://api.github.com/users/omobosteven/repos","events_url":"https://api.github.com/users/omobosteven/events{/privacy}","received_events_url":"https://api.github.com/users/omobosteven/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/24/commits","review_comments_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/24/comments","review_comment_url":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/issues/24/comments","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/960694e13e8c2ad60615762e734eaf8fd3ebb188","head":{"label":"andela:ft-bookmark-articles-159987750","ref":"ft-bookmark-articles-159987750","sha":"960694e13e8c2ad60615762e734eaf8fd3ebb188","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-09-12T09:40:44Z","pushed_at":"2018-09-12T13:30:55Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":450,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"eb67b31c5895c0d931ea93b2450d1a54fc860e3d","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":145832303,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4MzIzMDM=","name":"prometheus-ah","full_name":"andela/prometheus-ah","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/prometheus-ah","description":null,"fork":false,"url":"https://api.github.com/repos/andela/prometheus-ah","forks_url":"https://api.github.com/repos/andela/prometheus-ah/forks","keys_url":"https://api.github.com/repos/andela/prometheus-ah/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/prometheus-ah/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/prometheus-ah/teams","hooks_url":"https://api.github.com/repos/andela/prometheus-ah/hooks","issue_events_url":"https://api.github.com/repos/andela/prometheus-ah/issues/events{/number}","events_url":"https://api.github.com/repos/andela/prometheus-ah/events","assignees_url":"https://api.github.com/repos/andela/prometheus-ah/assignees{/user}","branches_url":"https://api.github.com/repos/andela/prometheus-ah/branches{/branch}","tags_url":"https://api.github.com/repos/andela/prometheus-ah/tags","blobs_url":"https://api.github.com/repos/andela/prometheus-ah/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/prometheus-ah/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/prometheus-ah/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/prometheus-ah/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/prometheus-ah/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/prometheus-ah/languages","stargazers_url":"https://api.github.com/repos/andela/prometheus-ah/stargazers","contributors_url":"https://api.github.com/repos/andela/prometheus-ah/contributors","subscribers_url":"https://api.github.com/repos/andela/prometheus-ah/subscribers","subscription_url":"https://api.github.com/repos/andela/prometheus-ah/subscription","commits_url":"https://api.github.com/repos/andela/prometheus-ah/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/prometheus-ah/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/prometheus-ah/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/prometheus-ah/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/prometheus-ah/contents/{+path}","compare_url":"https://api.github.com/repos/andela/prometheus-ah/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/prometheus-ah/merges","archive_url":"https://api.github.com/repos/andela/prometheus-ah/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/prometheus-ah/downloads","issues_url":"https://api.github.com/repos/andela/prometheus-ah/issues{/number}","pulls_url":"https://api.github.com/repos/andela/prometheus-ah/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/prometheus-ah/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/prometheus-ah/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/prometheus-ah/labels{/name}","releases_url":"https://api.github.com/repos/andela/prometheus-ah/releases{/id}","deployments_url":"https://api.github.com/repos/andela/prometheus-ah/deployments","created_at":"2018-08-23T09:34:39Z","updated_at":"2018-09-12T09:40:44Z","pushed_at":"2018-09-12T13:30:55Z","git_url":"git://github.com/andela/prometheus-ah.git","ssh_url":"git@github.com:andela/prometheus-ah.git","clone_url":"https://github.com/andela/prometheus-ah.git","svn_url":"https://github.com/andela/prometheus-ah","homepage":null,"size":450,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/24"},"html":{"href":"https://github.com/andela/prometheus-ah/pull/24"},"issue":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/24"},"comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/prometheus-ah/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/andela/prometheus-ah/statuses/960694e13e8c2ad60615762e734eaf8fd3ebb188"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}