{"action":"created","comment":{"url":"https://api.github.com/repos/EricDav/PostIt/pulls/comments/141947354","pull_request_review_id":66247063,"id":141947354,"diff_hunk":"@@ -50,20 +47,18 @@ const userValidation = {\n      (req.body.email.slice(req.body.email.length - 4, req.body.email.length)\n      !== '.com' || !(/[@]/.test(req.body.email)))) {\n       canVerify.email = false;\n-      if (isValidField(error.email)) {\n-        error.email = 'Invalid email address';\n-      }\n+      error.email = 'Invalid email address';\n       if (Object.keys(error).length === 5) {\n         return res.status(400).json({\n           error,\n           success: false\n         });\n       }\n     }\n-    if (canVerify.fullname && (!isText(req.body.fullname)\n-     || req.body.fullname.length < 2)) {\n-      if (isValidField(error.fullname)) {\n-        error.fullname = `Name should contain alphabet and space\n+    if (canVerify.fullName && (!isText(req.body.fullName)\n+     || req.body.fullName.length < 2)) {","path":"server/middlewares/userValidation.js","position":81,"original_position":81,"commit_id":"f9f8c1ec231d5b97269976b58537eb74f3c0676e","original_commit_id":"f9f8c1ec231d5b97269976b58537eb74f3c0676e","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":"Misleading line break before '||'; readers may interpret this as an expression boundary.","created_at":"2017-09-29T19:20:04Z","updated_at":"2017-09-29T19:20:05Z","html_url":"https://github.com/EricDav/PostIt/pull/9#discussion_r141947354","pull_request_url":"https://api.github.com/repos/EricDav/PostIt/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/comments/141947354"},"html":{"href":"https://github.com/EricDav/PostIt/pull/9#discussion_r141947354"},"pull_request":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/EricDav/PostIt/pulls/9","id":143960949,"html_url":"https://github.com/EricDav/PostIt/pull/9","diff_url":"https://github.com/EricDav/PostIt/pull/9.diff","patch_url":"https://github.com/EricDav/PostIt/pull/9.patch","issue_url":"https://api.github.com/repos/EricDav/PostIt/issues/9","number":9,"state":"open","locked":false,"title":"Feat/#746578556/implemnt feedback","user":{"login":"EricDav","id":22896090,"avatar_url":"https://avatars2.githubusercontent.com/u/22896090?v=4","gravatar_id":"","url":"https://api.github.com/users/EricDav","html_url":"https://github.com/EricDav","followers_url":"https://api.github.com/users/EricDav/followers","following_url":"https://api.github.com/users/EricDav/following{/other_user}","gists_url":"https://api.github.com/users/EricDav/gists{/gist_id}","starred_url":"https://api.github.com/users/EricDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricDav/subscriptions","organizations_url":"https://api.github.com/users/EricDav/orgs","repos_url":"https://api.github.com/users/EricDav/repos","events_url":"https://api.github.com/users/EricDav/events{/privacy}","received_events_url":"https://api.github.com/users/EricDav/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nImplement my first feedback given during defenc\r\n#### Description of Task to be completed?\r\nimplemnt all feedback given during defence\r\n#### How should this be manually tested?\r\nhttps://post-it1.herokuapp.com\r\n#### Any background context you want to provide?\r\nNill\r\n#### What are the relevant pivotal tracker stories?\r\n746578556\r\n#### Screenshots (if appropriate)\r\nNill\r\n#### Questions:\r\nNill","created_at":"2017-09-29T19:19:30Z","updated_at":"2017-09-29T19:20:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/EricDav/PostIt/pulls/9/commits","review_comments_url":"https://api.github.com/repos/EricDav/PostIt/pulls/9/comments","review_comment_url":"https://api.github.com/repos/EricDav/PostIt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EricDav/PostIt/issues/9/comments","statuses_url":"https://api.github.com/repos/EricDav/PostIt/statuses/f9f8c1ec231d5b97269976b58537eb74f3c0676e","head":{"label":"EricDav:feat/#746578556/implemnt-feedback","ref":"feat/#746578556/implemnt-feedback","sha":"f9f8c1ec231d5b97269976b58537eb74f3c0676e","user":{"login":"EricDav","id":22896090,"avatar_url":"https://avatars2.githubusercontent.com/u/22896090?v=4","gravatar_id":"","url":"https://api.github.com/users/EricDav","html_url":"https://github.com/EricDav","followers_url":"https://api.github.com/users/EricDav/followers","following_url":"https://api.github.com/users/EricDav/following{/other_user}","gists_url":"https://api.github.com/users/EricDav/gists{/gist_id}","starred_url":"https://api.github.com/users/EricDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricDav/subscriptions","organizations_url":"https://api.github.com/users/EricDav/orgs","repos_url":"https://api.github.com/users/EricDav/repos","events_url":"https://api.github.com/users/EricDav/events{/privacy}","received_events_url":"https://api.github.com/users/EricDav/received_events","type":"User","site_admin":false},"repo":{"id":93919993,"name":"PostIt","full_name":"EricDav/PostIt","owner":{"login":"EricDav","id":22896090,"avatar_url":"https://avatars2.githubusercontent.com/u/22896090?v=4","gravatar_id":"","url":"https://api.github.com/users/EricDav","html_url":"https://github.com/EricDav","followers_url":"https://api.github.com/users/EricDav/followers","following_url":"https://api.github.com/users/EricDav/following{/other_user}","gists_url":"https://api.github.com/users/EricDav/gists{/gist_id}","starred_url":"https://api.github.com/users/EricDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricDav/subscriptions","organizations_url":"https://api.github.com/users/EricDav/orgs","repos_url":"https://api.github.com/users/EricDav/repos","events_url":"https://api.github.com/users/EricDav/events{/privacy}","received_events_url":"https://api.github.com/users/EricDav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricDav/PostIt","description":"PostIt is an application that allows friends and colleagues create groups for  notification. visit https://post-it1.herokuapp.com","fork":false,"url":"https://api.github.com/repos/EricDav/PostIt","forks_url":"https://api.github.com/repos/EricDav/PostIt/forks","keys_url":"https://api.github.com/repos/EricDav/PostIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricDav/PostIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricDav/PostIt/teams","hooks_url":"https://api.github.com/repos/EricDav/PostIt/hooks","issue_events_url":"https://api.github.com/repos/EricDav/PostIt/issues/events{/number}","events_url":"https://api.github.com/repos/EricDav/PostIt/events","assignees_url":"https://api.github.com/repos/EricDav/PostIt/assignees{/user}","branches_url":"https://api.github.com/repos/EricDav/PostIt/branches{/branch}","tags_url":"https://api.github.com/repos/EricDav/PostIt/tags","blobs_url":"https://api.github.com/repos/EricDav/PostIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricDav/PostIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricDav/PostIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricDav/PostIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricDav/PostIt/statuses/{sha}","languages_url":"https://api.github.com/repos/EricDav/PostIt/languages","stargazers_url":"https://api.github.com/repos/EricDav/PostIt/stargazers","contributors_url":"https://api.github.com/repos/EricDav/PostIt/contributors","subscribers_url":"https://api.github.com/repos/EricDav/PostIt/subscribers","subscription_url":"https://api.github.com/repos/EricDav/PostIt/subscription","commits_url":"https://api.github.com/repos/EricDav/PostIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricDav/PostIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricDav/PostIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricDav/PostIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/EricDav/PostIt/contents/{+path}","compare_url":"https://api.github.com/repos/EricDav/PostIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricDav/PostIt/merges","archive_url":"https://api.github.com/repos/EricDav/PostIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricDav/PostIt/downloads","issues_url":"https://api.github.com/repos/EricDav/PostIt/issues{/number}","pulls_url":"https://api.github.com/repos/EricDav/PostIt/pulls{/number}","milestones_url":"https://api.github.com/repos/EricDav/PostIt/milestones{/number}","notifications_url":"https://api.github.com/repos/EricDav/PostIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricDav/PostIt/labels{/name}","releases_url":"https://api.github.com/repos/EricDav/PostIt/releases{/id}","deployments_url":"https://api.github.com/repos/EricDav/PostIt/deployments","created_at":"2017-06-10T06:19:23Z","updated_at":"2017-07-07T10:13:28Z","pushed_at":"2017-09-29T19:19:30Z","git_url":"git://github.com/EricDav/PostIt.git","ssh_url":"git@github.com:EricDav/PostIt.git","clone_url":"https://github.com/EricDav/PostIt.git","svn_url":"https://github.com/EricDav/PostIt","homepage":"","size":4238,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"EricDav:development","ref":"development","sha":"439aacea23e9a4a12cd4eb2aca6bbf7db32f2ba5","user":{"login":"EricDav","id":22896090,"avatar_url":"https://avatars2.githubusercontent.com/u/22896090?v=4","gravatar_id":"","url":"https://api.github.com/users/EricDav","html_url":"https://github.com/EricDav","followers_url":"https://api.github.com/users/EricDav/followers","following_url":"https://api.github.com/users/EricDav/following{/other_user}","gists_url":"https://api.github.com/users/EricDav/gists{/gist_id}","starred_url":"https://api.github.com/users/EricDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricDav/subscriptions","organizations_url":"https://api.github.com/users/EricDav/orgs","repos_url":"https://api.github.com/users/EricDav/repos","events_url":"https://api.github.com/users/EricDav/events{/privacy}","received_events_url":"https://api.github.com/users/EricDav/received_events","type":"User","site_admin":false},"repo":{"id":93919993,"name":"PostIt","full_name":"EricDav/PostIt","owner":{"login":"EricDav","id":22896090,"avatar_url":"https://avatars2.githubusercontent.com/u/22896090?v=4","gravatar_id":"","url":"https://api.github.com/users/EricDav","html_url":"https://github.com/EricDav","followers_url":"https://api.github.com/users/EricDav/followers","following_url":"https://api.github.com/users/EricDav/following{/other_user}","gists_url":"https://api.github.com/users/EricDav/gists{/gist_id}","starred_url":"https://api.github.com/users/EricDav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricDav/subscriptions","organizations_url":"https://api.github.com/users/EricDav/orgs","repos_url":"https://api.github.com/users/EricDav/repos","events_url":"https://api.github.com/users/EricDav/events{/privacy}","received_events_url":"https://api.github.com/users/EricDav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricDav/PostIt","description":"PostIt is an application that allows friends and colleagues create groups for  notification. visit https://post-it1.herokuapp.com","fork":false,"url":"https://api.github.com/repos/EricDav/PostIt","forks_url":"https://api.github.com/repos/EricDav/PostIt/forks","keys_url":"https://api.github.com/repos/EricDav/PostIt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricDav/PostIt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricDav/PostIt/teams","hooks_url":"https://api.github.com/repos/EricDav/PostIt/hooks","issue_events_url":"https://api.github.com/repos/EricDav/PostIt/issues/events{/number}","events_url":"https://api.github.com/repos/EricDav/PostIt/events","assignees_url":"https://api.github.com/repos/EricDav/PostIt/assignees{/user}","branches_url":"https://api.github.com/repos/EricDav/PostIt/branches{/branch}","tags_url":"https://api.github.com/repos/EricDav/PostIt/tags","blobs_url":"https://api.github.com/repos/EricDav/PostIt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricDav/PostIt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricDav/PostIt/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricDav/PostIt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricDav/PostIt/statuses/{sha}","languages_url":"https://api.github.com/repos/EricDav/PostIt/languages","stargazers_url":"https://api.github.com/repos/EricDav/PostIt/stargazers","contributors_url":"https://api.github.com/repos/EricDav/PostIt/contributors","subscribers_url":"https://api.github.com/repos/EricDav/PostIt/subscribers","subscription_url":"https://api.github.com/repos/EricDav/PostIt/subscription","commits_url":"https://api.github.com/repos/EricDav/PostIt/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricDav/PostIt/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricDav/PostIt/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricDav/PostIt/issues/comments{/number}","contents_url":"https://api.github.com/repos/EricDav/PostIt/contents/{+path}","compare_url":"https://api.github.com/repos/EricDav/PostIt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricDav/PostIt/merges","archive_url":"https://api.github.com/repos/EricDav/PostIt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricDav/PostIt/downloads","issues_url":"https://api.github.com/repos/EricDav/PostIt/issues{/number}","pulls_url":"https://api.github.com/repos/EricDav/PostIt/pulls{/number}","milestones_url":"https://api.github.com/repos/EricDav/PostIt/milestones{/number}","notifications_url":"https://api.github.com/repos/EricDav/PostIt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricDav/PostIt/labels{/name}","releases_url":"https://api.github.com/repos/EricDav/PostIt/releases{/id}","deployments_url":"https://api.github.com/repos/EricDav/PostIt/deployments","created_at":"2017-06-10T06:19:23Z","updated_at":"2017-07-07T10:13:28Z","pushed_at":"2017-09-29T19:19:30Z","git_url":"git://github.com/EricDav/PostIt.git","ssh_url":"git@github.com:EricDav/PostIt.git","clone_url":"https://github.com/EricDav/PostIt.git","svn_url":"https://github.com/EricDav/PostIt","homepage":"","size":4238,"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":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/9"},"html":{"href":"https://github.com/EricDav/PostIt/pull/9"},"issue":{"href":"https://api.github.com/repos/EricDav/PostIt/issues/9"},"comments":{"href":"https://api.github.com/repos/EricDav/PostIt/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EricDav/PostIt/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/EricDav/PostIt/statuses/f9f8c1ec231d5b97269976b58537eb74f3c0676e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}