{"action":"created","comment":{"url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/comments/189081203","pull_request_review_id":121192069,"id":189081203,"diff_hunk":"@@ -85,34 +100,35 @@ export default class Validation {\n         errors.location = 'location can not include symbols except comma';\n       }\n       if (!validator.isLength(location, { min: 5, max: 1000 })) {\n-        errors.location = 'location must be greater than 5 but less than 100 words';\n+        errors.location =\n+          'location must be greater than 5 but less than 100 words';\n       }\n     } else {\n       errors.location = 'Center should have an Address';\n     }\n \n-\n     if (Object.keys(errors).length !== 0) {\n       return res.status(400).send(errors);\n     }\n     next();\n   }\n \n   /**\n-     * Validates all centers details before allowing access to controller class\n-     * @param {object} req\n-     * @param {object} res\n-     * @param {object} next\n-     * @returns {object} Validation error messages or content of req.body passed to controller\n-     * @memberof centersValidation\n-     */\n+   * Validates all centers details before allowing access to controller class\n+   * @param {object} req\n+   * @param {object} res\n+   * @param {object} next\n+   * @returns {object} Validation error messages or content of req.body passed to controller","path":"server/middleware/centerValidate.js","position":22,"original_position":131,"commit_id":"bb3d8f14ea7ee04e051216a78ebcfcf7462cf1fa","original_commit_id":"bb3d8f14ea7ee04e051216a78ebcfcf7462cf1fa","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":"Line 121 exceeds the maximum line length of 80     max-len","created_at":"2018-05-17T19:55:03Z","updated_at":"2018-05-17T19:55:04Z","html_url":"https://github.com/Orlayhemmy/EventManager/pull/88#discussion_r189081203","pull_request_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/comments/189081203"},"html":{"href":"https://github.com/Orlayhemmy/EventManager/pull/88#discussion_r189081203"},"pull_request":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88","id":188844049,"html_url":"https://github.com/Orlayhemmy/EventManager/pull/88","diff_url":"https://github.com/Orlayhemmy/EventManager/pull/88.diff","patch_url":"https://github.com/Orlayhemmy/EventManager/pull/88.patch","issue_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/88","number":88,"state":"closed","locked":false,"title":"Fix travis","user":{"login":"Orlayhemmy","id":33638254,"avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-17T19:54:35Z","updated_at":"2018-05-17T19:55:04Z","closed_at":"2018-05-17T19:54:44Z","merged_at":"2018-05-17T19:54:44Z","merge_commit_sha":"20b3341b62fa04937f71aebdb9c67d289670be0b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88/commits","review_comments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88/comments","review_comment_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/88/comments","statuses_url":"https://api.github.com/repos/Orlayhemmy/EventManager/statuses/bb3d8f14ea7ee04e051216a78ebcfcf7462cf1fa","head":{"label":"Orlayhemmy:fix-travis","ref":"fix-travis","sha":"bb3d8f14ea7ee04e051216a78ebcfcf7462cf1fa","user":{"login":"Orlayhemmy","id":33638254,"avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"repo":{"id":111042039,"name":"EventManager","full_name":"Orlayhemmy/EventManager","owner":{"login":"Orlayhemmy","id":33638254,"avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Orlayhemmy/EventManager","description":null,"fork":false,"url":"https://api.github.com/repos/Orlayhemmy/EventManager","forks_url":"https://api.github.com/repos/Orlayhemmy/EventManager/forks","keys_url":"https://api.github.com/repos/Orlayhemmy/EventManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Orlayhemmy/EventManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Orlayhemmy/EventManager/teams","hooks_url":"https://api.github.com/repos/Orlayhemmy/EventManager/hooks","issue_events_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/events{/number}","events_url":"https://api.github.com/repos/Orlayhemmy/EventManager/events","assignees_url":"https://api.github.com/repos/Orlayhemmy/EventManager/assignees{/user}","branches_url":"https://api.github.com/repos/Orlayhemmy/EventManager/branches{/branch}","tags_url":"https://api.github.com/repos/Orlayhemmy/EventManager/tags","blobs_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Orlayhemmy/EventManager/statuses/{sha}","languages_url":"https://api.github.com/repos/Orlayhemmy/EventManager/languages","stargazers_url":"https://api.github.com/repos/Orlayhemmy/EventManager/stargazers","contributors_url":"https://api.github.com/repos/Orlayhemmy/EventManager/contributors","subscribers_url":"https://api.github.com/repos/Orlayhemmy/EventManager/subscribers","subscription_url":"https://api.github.com/repos/Orlayhemmy/EventManager/subscription","commits_url":"https://api.github.com/repos/Orlayhemmy/EventManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Orlayhemmy/EventManager/contents/{+path}","compare_url":"https://api.github.com/repos/Orlayhemmy/EventManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Orlayhemmy/EventManager/merges","archive_url":"https://api.github.com/repos/Orlayhemmy/EventManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Orlayhemmy/EventManager/downloads","issues_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues{/number}","pulls_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls{/number}","milestones_url":"https://api.github.com/repos/Orlayhemmy/EventManager/milestones{/number}","notifications_url":"https://api.github.com/repos/Orlayhemmy/EventManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Orlayhemmy/EventManager/labels{/name}","releases_url":"https://api.github.com/repos/Orlayhemmy/EventManager/releases{/id}","deployments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/deployments","created_at":"2017-11-17T01:25:09Z","updated_at":"2018-05-17T19:54:46Z","pushed_at":"2018-05-17T19:54:45Z","git_url":"git://github.com/Orlayhemmy/EventManager.git","ssh_url":"git@github.com:Orlayhemmy/EventManager.git","clone_url":"https://github.com/Orlayhemmy/EventManager.git","svn_url":"https://github.com/Orlayhemmy/EventManager","homepage":null,"size":13360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Orlayhemmy:develop","ref":"develop","sha":"33ee735c25d62ba05eb152dfb4c4099d898230c9","user":{"login":"Orlayhemmy","id":33638254,"avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"repo":{"id":111042039,"name":"EventManager","full_name":"Orlayhemmy/EventManager","owner":{"login":"Orlayhemmy","id":33638254,"avatar_url":"https://avatars0.githubusercontent.com/u/33638254?v=4","gravatar_id":"","url":"https://api.github.com/users/Orlayhemmy","html_url":"https://github.com/Orlayhemmy","followers_url":"https://api.github.com/users/Orlayhemmy/followers","following_url":"https://api.github.com/users/Orlayhemmy/following{/other_user}","gists_url":"https://api.github.com/users/Orlayhemmy/gists{/gist_id}","starred_url":"https://api.github.com/users/Orlayhemmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orlayhemmy/subscriptions","organizations_url":"https://api.github.com/users/Orlayhemmy/orgs","repos_url":"https://api.github.com/users/Orlayhemmy/repos","events_url":"https://api.github.com/users/Orlayhemmy/events{/privacy}","received_events_url":"https://api.github.com/users/Orlayhemmy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Orlayhemmy/EventManager","description":null,"fork":false,"url":"https://api.github.com/repos/Orlayhemmy/EventManager","forks_url":"https://api.github.com/repos/Orlayhemmy/EventManager/forks","keys_url":"https://api.github.com/repos/Orlayhemmy/EventManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Orlayhemmy/EventManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Orlayhemmy/EventManager/teams","hooks_url":"https://api.github.com/repos/Orlayhemmy/EventManager/hooks","issue_events_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/events{/number}","events_url":"https://api.github.com/repos/Orlayhemmy/EventManager/events","assignees_url":"https://api.github.com/repos/Orlayhemmy/EventManager/assignees{/user}","branches_url":"https://api.github.com/repos/Orlayhemmy/EventManager/branches{/branch}","tags_url":"https://api.github.com/repos/Orlayhemmy/EventManager/tags","blobs_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Orlayhemmy/EventManager/statuses/{sha}","languages_url":"https://api.github.com/repos/Orlayhemmy/EventManager/languages","stargazers_url":"https://api.github.com/repos/Orlayhemmy/EventManager/stargazers","contributors_url":"https://api.github.com/repos/Orlayhemmy/EventManager/contributors","subscribers_url":"https://api.github.com/repos/Orlayhemmy/EventManager/subscribers","subscription_url":"https://api.github.com/repos/Orlayhemmy/EventManager/subscription","commits_url":"https://api.github.com/repos/Orlayhemmy/EventManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Orlayhemmy/EventManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Orlayhemmy/EventManager/contents/{+path}","compare_url":"https://api.github.com/repos/Orlayhemmy/EventManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Orlayhemmy/EventManager/merges","archive_url":"https://api.github.com/repos/Orlayhemmy/EventManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Orlayhemmy/EventManager/downloads","issues_url":"https://api.github.com/repos/Orlayhemmy/EventManager/issues{/number}","pulls_url":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls{/number}","milestones_url":"https://api.github.com/repos/Orlayhemmy/EventManager/milestones{/number}","notifications_url":"https://api.github.com/repos/Orlayhemmy/EventManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Orlayhemmy/EventManager/labels{/name}","releases_url":"https://api.github.com/repos/Orlayhemmy/EventManager/releases{/id}","deployments_url":"https://api.github.com/repos/Orlayhemmy/EventManager/deployments","created_at":"2017-11-17T01:25:09Z","updated_at":"2018-05-17T19:54:46Z","pushed_at":"2018-05-17T19:54:45Z","git_url":"git://github.com/Orlayhemmy/EventManager.git","ssh_url":"git@github.com:Orlayhemmy/EventManager.git","clone_url":"https://github.com/Orlayhemmy/EventManager.git","svn_url":"https://github.com/Orlayhemmy/EventManager","homepage":null,"size":13360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88"},"html":{"href":"https://github.com/Orlayhemmy/EventManager/pull/88"},"issue":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/88"},"comments":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/Orlayhemmy/EventManager/statuses/bb3d8f14ea7ee04e051216a78ebcfcf7462cf1fa"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}