{"action":"created","comment":{"url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/comments/153721139","pull_request_review_id":79768244,"id":153721139,"diff_hunk":"@@ -156,6 +194,31 @@ export default class Helpers {\n       });\n   }\n \n+\n+  /**\n+       *  method to check if Admin Exists\n+       * @method userAlreadyExists\n+       * @param {object} req\n+       * @param {object} res\n+       * @return {json}\n+       */\n+\n+  static UserAlreadyExists(req, res, next) {\n+    const email = parseInt(req.body.email, 10);","path":"server/middleware/helper.js","position":73,"original_position":73,"commit_id":"0f83ccf7e9432d376598c32463286c1135295c4d","original_commit_id":"0f83ccf7e9432d376598c32463286c1135295c4d","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":"'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).","created_at":"2017-11-29T08:41:48Z","updated_at":"2017-11-29T08:41:49Z","html_url":"https://github.com/sophie3669/Hello-Books/pull/23#discussion_r153721139","pull_request_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/comments/153721139"},"html":{"href":"https://github.com/sophie3669/Hello-Books/pull/23#discussion_r153721139"},"pull_request":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23","id":155278499,"html_url":"https://github.com/sophie3669/Hello-Books/pull/23","diff_url":"https://github.com/sophie3669/Hello-Books/pull/23.diff","patch_url":"https://github.com/sophie3669/Hello-Books/pull/23.patch","issue_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/23","number":23,"state":"open","locked":false,"title":"travis integration","user":{"login":"sophie3669","id":16207484,"avatar_url":"https://avatars2.githubusercontent.com/u/16207484?v=4","gravatar_id":"","url":"https://api.github.com/users/sophie3669","html_url":"https://github.com/sophie3669","followers_url":"https://api.github.com/users/sophie3669/followers","following_url":"https://api.github.com/users/sophie3669/following{/other_user}","gists_url":"https://api.github.com/users/sophie3669/gists{/gist_id}","starred_url":"https://api.github.com/users/sophie3669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophie3669/subscriptions","organizations_url":"https://api.github.com/users/sophie3669/orgs","repos_url":"https://api.github.com/users/sophie3669/repos","events_url":"https://api.github.com/users/sophie3669/events{/privacy}","received_events_url":"https://api.github.com/users/sophie3669/received_events","type":"User","site_admin":false},"body":"Integration of travis \r\n\r\nThis helps to run test when pushed to github","created_at":"2017-11-29T08:41:36Z","updated_at":"2017-11-29T08:41:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"415a8b04fcd896fd1a47189d31abddf119352553","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23/commits","review_comments_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23/comments","review_comment_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/23/comments","statuses_url":"https://api.github.com/repos/sophie3669/Hello-Books/statuses/0f83ccf7e9432d376598c32463286c1135295c4d","head":{"label":"sophie3669:ft-postgres-integration","ref":"ft-postgres-integration","sha":"0f83ccf7e9432d376598c32463286c1135295c4d","user":{"login":"sophie3669","id":16207484,"avatar_url":"https://avatars2.githubusercontent.com/u/16207484?v=4","gravatar_id":"","url":"https://api.github.com/users/sophie3669","html_url":"https://github.com/sophie3669","followers_url":"https://api.github.com/users/sophie3669/followers","following_url":"https://api.github.com/users/sophie3669/following{/other_user}","gists_url":"https://api.github.com/users/sophie3669/gists{/gist_id}","starred_url":"https://api.github.com/users/sophie3669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophie3669/subscriptions","organizations_url":"https://api.github.com/users/sophie3669/orgs","repos_url":"https://api.github.com/users/sophie3669/repos","events_url":"https://api.github.com/users/sophie3669/events{/privacy}","received_events_url":"https://api.github.com/users/sophie3669/received_events","type":"User","site_admin":false},"repo":{"id":106042000,"name":"Hello-Books","full_name":"sophie3669/Hello-Books","owner":{"login":"sophie3669","id":16207484,"avatar_url":"https://avatars2.githubusercontent.com/u/16207484?v=4","gravatar_id":"","url":"https://api.github.com/users/sophie3669","html_url":"https://github.com/sophie3669","followers_url":"https://api.github.com/users/sophie3669/followers","following_url":"https://api.github.com/users/sophie3669/following{/other_user}","gists_url":"https://api.github.com/users/sophie3669/gists{/gist_id}","starred_url":"https://api.github.com/users/sophie3669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophie3669/subscriptions","organizations_url":"https://api.github.com/users/sophie3669/orgs","repos_url":"https://api.github.com/users/sophie3669/repos","events_url":"https://api.github.com/users/sophie3669/events{/privacy}","received_events_url":"https://api.github.com/users/sophie3669/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sophie3669/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/sophie3669/Hello-Books","forks_url":"https://api.github.com/repos/sophie3669/Hello-Books/forks","keys_url":"https://api.github.com/repos/sophie3669/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sophie3669/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sophie3669/Hello-Books/teams","hooks_url":"https://api.github.com/repos/sophie3669/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/sophie3669/Hello-Books/events","assignees_url":"https://api.github.com/repos/sophie3669/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/sophie3669/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/sophie3669/Hello-Books/tags","blobs_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sophie3669/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/sophie3669/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/sophie3669/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/sophie3669/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/sophie3669/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/sophie3669/Hello-Books/subscription","commits_url":"https://api.github.com/repos/sophie3669/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/sophie3669/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/sophie3669/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/sophie3669/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sophie3669/Hello-Books/merges","archive_url":"https://api.github.com/repos/sophie3669/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sophie3669/Hello-Books/downloads","issues_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/sophie3669/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/sophie3669/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sophie3669/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/sophie3669/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/sophie3669/Hello-Books/deployments","created_at":"2017-10-06T19:20:52Z","updated_at":"2017-10-07T23:38:27Z","pushed_at":"2017-11-29T08:41:36Z","git_url":"git://github.com/sophie3669/Hello-Books.git","ssh_url":"git@github.com:sophie3669/Hello-Books.git","clone_url":"https://github.com/sophie3669/Hello-Books.git","svn_url":"https://github.com/sophie3669/Hello-Books","homepage":"","size":24889,"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":"sophie3669:develop","ref":"develop","sha":"fcb9c84169929c5224966ab893c642ad02f17ed7","user":{"login":"sophie3669","id":16207484,"avatar_url":"https://avatars2.githubusercontent.com/u/16207484?v=4","gravatar_id":"","url":"https://api.github.com/users/sophie3669","html_url":"https://github.com/sophie3669","followers_url":"https://api.github.com/users/sophie3669/followers","following_url":"https://api.github.com/users/sophie3669/following{/other_user}","gists_url":"https://api.github.com/users/sophie3669/gists{/gist_id}","starred_url":"https://api.github.com/users/sophie3669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophie3669/subscriptions","organizations_url":"https://api.github.com/users/sophie3669/orgs","repos_url":"https://api.github.com/users/sophie3669/repos","events_url":"https://api.github.com/users/sophie3669/events{/privacy}","received_events_url":"https://api.github.com/users/sophie3669/received_events","type":"User","site_admin":false},"repo":{"id":106042000,"name":"Hello-Books","full_name":"sophie3669/Hello-Books","owner":{"login":"sophie3669","id":16207484,"avatar_url":"https://avatars2.githubusercontent.com/u/16207484?v=4","gravatar_id":"","url":"https://api.github.com/users/sophie3669","html_url":"https://github.com/sophie3669","followers_url":"https://api.github.com/users/sophie3669/followers","following_url":"https://api.github.com/users/sophie3669/following{/other_user}","gists_url":"https://api.github.com/users/sophie3669/gists{/gist_id}","starred_url":"https://api.github.com/users/sophie3669/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophie3669/subscriptions","organizations_url":"https://api.github.com/users/sophie3669/orgs","repos_url":"https://api.github.com/users/sophie3669/repos","events_url":"https://api.github.com/users/sophie3669/events{/privacy}","received_events_url":"https://api.github.com/users/sophie3669/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sophie3669/Hello-Books","description":null,"fork":false,"url":"https://api.github.com/repos/sophie3669/Hello-Books","forks_url":"https://api.github.com/repos/sophie3669/Hello-Books/forks","keys_url":"https://api.github.com/repos/sophie3669/Hello-Books/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sophie3669/Hello-Books/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sophie3669/Hello-Books/teams","hooks_url":"https://api.github.com/repos/sophie3669/Hello-Books/hooks","issue_events_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/events{/number}","events_url":"https://api.github.com/repos/sophie3669/Hello-Books/events","assignees_url":"https://api.github.com/repos/sophie3669/Hello-Books/assignees{/user}","branches_url":"https://api.github.com/repos/sophie3669/Hello-Books/branches{/branch}","tags_url":"https://api.github.com/repos/sophie3669/Hello-Books/tags","blobs_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/refs{/sha}","trees_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sophie3669/Hello-Books/statuses/{sha}","languages_url":"https://api.github.com/repos/sophie3669/Hello-Books/languages","stargazers_url":"https://api.github.com/repos/sophie3669/Hello-Books/stargazers","contributors_url":"https://api.github.com/repos/sophie3669/Hello-Books/contributors","subscribers_url":"https://api.github.com/repos/sophie3669/Hello-Books/subscribers","subscription_url":"https://api.github.com/repos/sophie3669/Hello-Books/subscription","commits_url":"https://api.github.com/repos/sophie3669/Hello-Books/commits{/sha}","git_commits_url":"https://api.github.com/repos/sophie3669/Hello-Books/git/commits{/sha}","comments_url":"https://api.github.com/repos/sophie3669/Hello-Books/comments{/number}","issue_comment_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues/comments{/number}","contents_url":"https://api.github.com/repos/sophie3669/Hello-Books/contents/{+path}","compare_url":"https://api.github.com/repos/sophie3669/Hello-Books/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sophie3669/Hello-Books/merges","archive_url":"https://api.github.com/repos/sophie3669/Hello-Books/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sophie3669/Hello-Books/downloads","issues_url":"https://api.github.com/repos/sophie3669/Hello-Books/issues{/number}","pulls_url":"https://api.github.com/repos/sophie3669/Hello-Books/pulls{/number}","milestones_url":"https://api.github.com/repos/sophie3669/Hello-Books/milestones{/number}","notifications_url":"https://api.github.com/repos/sophie3669/Hello-Books/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sophie3669/Hello-Books/labels{/name}","releases_url":"https://api.github.com/repos/sophie3669/Hello-Books/releases{/id}","deployments_url":"https://api.github.com/repos/sophie3669/Hello-Books/deployments","created_at":"2017-10-06T19:20:52Z","updated_at":"2017-10-07T23:38:27Z","pushed_at":"2017-11-29T08:41:36Z","git_url":"git://github.com/sophie3669/Hello-Books.git","ssh_url":"git@github.com:sophie3669/Hello-Books.git","clone_url":"https://github.com/sophie3669/Hello-Books.git","svn_url":"https://github.com/sophie3669/Hello-Books","homepage":"","size":24889,"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/sophie3669/Hello-Books/pulls/23"},"html":{"href":"https://github.com/sophie3669/Hello-Books/pull/23"},"issue":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/issues/23"},"comments":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/sophie3669/Hello-Books/statuses/0f83ccf7e9432d376598c32463286c1135295c4d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}