payload: {"action":"created","comment":{"url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/comments/290999351","pull_request_review_id":246337576,"id":290999351,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5MDk5OTM1MQ==","diff_hunk":"@@ -105,18 +112,20 @@ describe('Report Article API endpoint', () => {\n \n   describe('/reporting article Get Endpoint', () => {\n     it('should get a reported article', async () => {\n+      const usersToken = await generateToken({ email: 'user@user.com', id: 2, password: 'secret' });\n       const res = await chai.request(app)\n         .get('/api/v1/articles/2/report')\n-        .set({ Authorization: `Bearer ${authToken}` });\n+        .set('authorization', `Bearer ${usersToken}`)","path":"test/integrations/routes/reportArticle.test.js","position":107,"original_position":107,"commit_id":"5a1a5f4b76141258e1800e522139e7f9cab66138","original_commit_id":"5a1a5f4b76141258e1800e522139e7f9cab66138","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":"Missing semicolon                                             semi","created_at":"2019-06-06T02:17:22Z","updated_at":"2019-06-06T02:17:22Z","html_url":"https://github.com/andela/apollo-ah-backend/pull/72#discussion_r290999351","pull_request_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/comments/290999351"},"html":{"href":"https://github.com/andela/apollo-ah-backend/pull/72#discussion_r290999351"},"pull_request":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72","id":284007601,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0MDA3NjAx","html_url":"https://github.com/andela/apollo-ah-backend/pull/72","diff_url":"https://github.com/andela/apollo-ah-backend/pull/72.diff","patch_url":"https://github.com/andela/apollo-ah-backend/pull/72.patch","issue_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/72","number":72,"state":"open","locked":false,"title":" #166376212  Fix email notification malfunctionality.","user":{"login":"Andraquin","id":44200495,"node_id":"MDQ6VXNlcjQ0MjAwNDk1","avatar_url":"https://avatars3.githubusercontent.com/u/44200495?v=4","gravatar_id":"","url":"https://api.github.com/users/Andraquin","html_url":"https://github.com/Andraquin","followers_url":"https://api.github.com/users/Andraquin/followers","following_url":"https://api.github.com/users/Andraquin/following{/other_user}","gists_url":"https://api.github.com/users/Andraquin/gists{/gist_id}","starred_url":"https://api.github.com/users/Andraquin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andraquin/subscriptions","organizations_url":"https://api.github.com/users/Andraquin/orgs","repos_url":"https://api.github.com/users/Andraquin/repos","events_url":"https://api.github.com/users/Andraquin/events{/privacy}","received_events_url":"https://api.github.com/users/Andraquin/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nIt fixes email notification malfunctionality.\r\n\r\n#### Description of Task to be completed?\r\n- change email notification delivery service from nodemailer to sendgrid\r\n- fix malfunctionality of account confirmation email notification for users\r\n- fix malfunctionality of reset password email notification for users\r\n\r\n#### How should this be manually tested?\r\n- Follow the steps below:\r\n  - Run the following commands in your terminal\r\n`git clone https://github.com/andela/apollo-ah-frontend.git`\r\n- Open the project folder `cd apollo-ah-frontend` in your terminal\r\n- Run `npm install` to install the project dependencies.\r\n- Open the project folder in your `text editor` of choice.\r\n- Create a `.env` file in the root directory.\r\n- Locate `.env.example` file in the root directory and copy those environment variables keys in that file to `.env` file.\r\n- Provide environment variable values to those keys you copied to `.env` file.\r\n- Run `npm start:dev` to start the app.\r\n- Open up the app in your browser of choice.\r\n\r\n`For reset password email notification`\r\n- Navigate to Login page and click on the `Forgot Password`.\r\n- Input your email address on the reset password form and request to reset your password.\r\n- Move over to your your email\r\n- You should be to see an email for resetting your password\r\n\r\n`For account confirmation email notification`.\r\n- Navigate to sign up page and sign up with your details.\r\n- Move over to your your email\r\n- You should be to see an for account confirmation\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#166376212](https://www.pivotaltracker.com/story/show/166376212)\r\n\r\n#### Screenshots (if appropriate)\r\nN/A\r\n\r\n#### Questions:","created_at":"2019-05-31T11:25:33Z","updated_at":"2019-06-06T02:17:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce8256ef04d5ae224cbed1816729d32afaa17570","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72/commits","review_comments_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72/comments","review_comment_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/72/comments","statuses_url":"https://api.github.com/repos/andela/apollo-ah-backend/statuses/5a1a5f4b76141258e1800e522139e7f9cab66138","head":{"label":"andela:bug/166376212/fix-email-notification","ref":"bug/166376212/fix-email-notification","sha":"5a1a5f4b76141258e1800e522139e7f9cab66138","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":171654624,"node_id":"MDEwOlJlcG9zaXRvcnkxNzE2NTQ2MjQ=","name":"apollo-ah-backend","full_name":"andela/apollo-ah-backend","private":false,"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},"html_url":"https://github.com/andela/apollo-ah-backend","description":"Authors Haven is a community of like minded writers to foster inspiration and innovation by leveraging the modern web","fork":false,"url":"https://api.github.com/repos/andela/apollo-ah-backend","forks_url":"https://api.github.com/repos/andela/apollo-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/apollo-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/apollo-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/apollo-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/apollo-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/apollo-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/apollo-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/apollo-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/apollo-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/apollo-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/apollo-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/apollo-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/apollo-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/apollo-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/apollo-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/apollo-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/apollo-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/apollo-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/apollo-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/apollo-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/apollo-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/apollo-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/apollo-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/apollo-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/apollo-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/apollo-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/apollo-ah-backend/deployments","created_at":"2019-02-20T10:45:54Z","updated_at":"2019-04-05T07:05:14Z","pushed_at":"2019-06-06T02:17:15Z","git_url":"git://github.com/andela/apollo-ah-backend.git","ssh_url":"git@github.com:andela/apollo-ah-backend.git","clone_url":"https://github.com/andela/apollo-ah-backend.git","svn_url":"https://github.com/andela/apollo-ah-backend","homepage":"https://apollo-ah-backend.herokuapp.com","size":2865,"stargazers_count":0,"watchers_count":0,"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,"disabled":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:staging","ref":"staging","sha":"dd86e2ad1dd1c5f9202b8bea2e738c4bdc119aa6","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":171654624,"node_id":"MDEwOlJlcG9zaXRvcnkxNzE2NTQ2MjQ=","name":"apollo-ah-backend","full_name":"andela/apollo-ah-backend","private":false,"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},"html_url":"https://github.com/andela/apollo-ah-backend","description":"Authors Haven is a community of like minded writers to foster inspiration and innovation by leveraging the modern web","fork":false,"url":"https://api.github.com/repos/andela/apollo-ah-backend","forks_url":"https://api.github.com/repos/andela/apollo-ah-backend/forks","keys_url":"https://api.github.com/repos/andela/apollo-ah-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/apollo-ah-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/apollo-ah-backend/teams","hooks_url":"https://api.github.com/repos/andela/apollo-ah-backend/hooks","issue_events_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/apollo-ah-backend/events","assignees_url":"https://api.github.com/repos/andela/apollo-ah-backend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/apollo-ah-backend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/apollo-ah-backend/tags","blobs_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/apollo-ah-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/apollo-ah-backend/languages","stargazers_url":"https://api.github.com/repos/andela/apollo-ah-backend/stargazers","contributors_url":"https://api.github.com/repos/andela/apollo-ah-backend/contributors","subscribers_url":"https://api.github.com/repos/andela/apollo-ah-backend/subscribers","subscription_url":"https://api.github.com/repos/andela/apollo-ah-backend/subscription","commits_url":"https://api.github.com/repos/andela/apollo-ah-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/apollo-ah-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/apollo-ah-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/apollo-ah-backend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/apollo-ah-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/apollo-ah-backend/merges","archive_url":"https://api.github.com/repos/andela/apollo-ah-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/apollo-ah-backend/downloads","issues_url":"https://api.github.com/repos/andela/apollo-ah-backend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/apollo-ah-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/apollo-ah-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/apollo-ah-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/apollo-ah-backend/labels{/name}","releases_url":"https://api.github.com/repos/andela/apollo-ah-backend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/apollo-ah-backend/deployments","created_at":"2019-02-20T10:45:54Z","updated_at":"2019-04-05T07:05:14Z","pushed_at":"2019-06-06T02:17:15Z","git_url":"git://github.com/andela/apollo-ah-backend.git","ssh_url":"git@github.com:andela/apollo-ah-backend.git","clone_url":"https://github.com/andela/apollo-ah-backend.git","svn_url":"https://github.com/andela/apollo-ah-backend","homepage":"https://apollo-ah-backend.herokuapp.com","size":2865,"stargazers_count":0,"watchers_count":0,"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,"disabled":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72"},"html":{"href":"https://github.com/andela/apollo-ah-backend/pull/72"},"issue":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/issues/72"},"comments":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/andela/apollo-ah-backend/statuses/5a1a5f4b76141258e1800e522139e7f9cab66138"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"houndci-bot"}}