{"action":"created","comment":{"url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/comments/154379740","pull_request_review_id":80538297,"id":154379740,"diff_hunk":"@@ -1,21 +1,37 @@\n-\n+import bcrypt from 'bcrypt';","path":"server/controllers/loginController.js","position":2,"original_position":2,"commit_id":"209e17dd129a7c27f24094ee1328cab765319326","original_commit_id":"209e17dd129a7c27f24094ee1328cab765319326","user":{"login":"houndci-bot","id":6697940,"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":"Unable to resolve path to module 'bcrypt'                import/no-unresolved<br>Missing file extension for \"bcrypt\"                      import/extensions","created_at":"2017-12-01T15:58:02Z","updated_at":"2017-12-01T15:58:03Z","html_url":"https://github.com/albert85/Andela-Event-Manager/pull/21#discussion_r154379740","pull_request_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/comments/154379740"},"html":{"href":"https://github.com/albert85/Andela-Event-Manager/pull/21#discussion_r154379740"},"pull_request":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21","id":155895175,"html_url":"https://github.com/albert85/Andela-Event-Manager/pull/21","diff_url":"https://github.com/albert85/Andela-Event-Manager/pull/21.diff","patch_url":"https://github.com/albert85/Andela-Event-Manager/pull/21.patch","issue_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/21","number":21,"state":"open","locked":false,"title":"Feature json web token","user":{"login":"albert85","id":28366272,"avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nit manages events and centers\r\n\r\n\r\n#### Description of Task to be completed?\r\nN/A\r\n\r\n\r\n#### How should this be manually tested?\r\n- Using postman paste on the url \r\n- localhost:3000/api/users/login to login and generate token for operation\r\n- Paste the token on the header's field with key: Authorization and value as Bearer and paste token\r\n\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n\r\n#### What are the relevant pivotal tracker stories? (If applicable)\r\nN/A\r\n\r\n\r\n#### Screenshots (If applicable)\r\nN/A","created_at":"2017-12-01T15:57:46Z","updated_at":"2017-12-01T15:58:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36e86b7588723052d22854b01466fb23aec87929","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21/commits","review_comments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21/comments","review_comment_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/21/comments","statuses_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/statuses/209e17dd129a7c27f24094ee1328cab765319326","head":{"label":"albert85:feature-json-web-token","ref":"feature-json-web-token","sha":"209e17dd129a7c27f24094ee1328cab765319326","user":{"login":"albert85","id":28366272,"avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"repo":{"id":111669183,"name":"Andela-Event-Manager","full_name":"albert85/Andela-Event-Manager","owner":{"login":"albert85","id":28366272,"avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/albert85/Andela-Event-Manager","description":"Event Manager","fork":false,"url":"https://api.github.com/repos/albert85/Andela-Event-Manager","forks_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/forks","keys_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/teams","hooks_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/hooks","issue_events_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/events","assignees_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/tags","blobs_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/languages","stargazers_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/stargazers","contributors_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/contributors","subscribers_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/subscribers","subscription_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/subscription","commits_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/merges","archive_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/downloads","issues_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/labels{/name}","releases_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/deployments","created_at":"2017-11-22T10:21:22Z","updated_at":"2017-11-22T12:06:42Z","pushed_at":"2017-12-01T15:57:46Z","git_url":"git://github.com/albert85/Andela-Event-Manager.git","ssh_url":"git@github.com:albert85/Andela-Event-Manager.git","clone_url":"https://github.com/albert85/Andela-Event-Manager.git","svn_url":"https://github.com/albert85/Andela-Event-Manager","homepage":null,"size":16108,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"albert85:develop","ref":"develop","sha":"39c5e4f0425bf46aafa82b5cb0e0da7fb28ebfeb","user":{"login":"albert85","id":28366272,"avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"repo":{"id":111669183,"name":"Andela-Event-Manager","full_name":"albert85/Andela-Event-Manager","owner":{"login":"albert85","id":28366272,"avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/albert85/Andela-Event-Manager","description":"Event Manager","fork":false,"url":"https://api.github.com/repos/albert85/Andela-Event-Manager","forks_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/forks","keys_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/teams","hooks_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/hooks","issue_events_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/events","assignees_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/tags","blobs_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/languages","stargazers_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/stargazers","contributors_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/contributors","subscribers_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/subscribers","subscription_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/subscription","commits_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/merges","archive_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/downloads","issues_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/labels{/name}","releases_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/albert85/Andela-Event-Manager/deployments","created_at":"2017-11-22T10:21:22Z","updated_at":"2017-11-22T12:06:42Z","pushed_at":"2017-12-01T15:57:46Z","git_url":"git://github.com/albert85/Andela-Event-Manager.git","ssh_url":"git@github.com:albert85/Andela-Event-Manager.git","clone_url":"https://github.com/albert85/Andela-Event-Manager.git","svn_url":"https://github.com/albert85/Andela-Event-Manager","homepage":null,"size":16108,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21"},"html":{"href":"https://github.com/albert85/Andela-Event-Manager/pull/21"},"issue":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/21"},"comments":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/albert85/Andela-Event-Manager/statuses/209e17dd129a7c27f24094ee1328cab765319326"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}