{"action":"created","comment":{"url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/comments/186479927","pull_request_review_id":118065880,"id":186479927,"diff_hunk":"@@ -5,6 +5,7 @@ import {\n   PENDING_CENTER,\n   ACTIVE_CENTER,\n   APPROVED_CENTER,\n+  ACCOUNT_TYPE_SUPER_ADMIN","path":"server/v2/controllers/CenterController.js","position":4,"original_position":4,"commit_id":"060ec5dadff2f5c4c1414bd916a788871797f8a9","original_commit_id":"060ec5dadff2f5c4c1414bd916a788871797f8a9","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":"'ACCOUNT_TYPE_SUPER_ADMIN' is defined but never used    no-unused-vars","created_at":"2018-05-07T16:48:53Z","updated_at":"2018-05-07T16:48:55Z","html_url":"https://github.com/omokolataiwo/eventmanager/pull/44#discussion_r186479927","pull_request_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/comments/186479927"},"html":{"href":"https://github.com/omokolataiwo/eventmanager/pull/44#discussion_r186479927"},"pull_request":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44","id":186402621,"html_url":"https://github.com/omokolataiwo/eventmanager/pull/44","diff_url":"https://github.com/omokolataiwo/eventmanager/pull/44.diff","patch_url":"https://github.com/omokolataiwo/eventmanager/pull/44.patch","issue_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/44","number":44,"state":"open","locked":false,"title":"#157364735: Super Admin should be able to approve center","user":{"login":"omokolataiwo","id":30238960,"avatar_url":"https://avatars3.githubusercontent.com/u/30238960?v=4","gravatar_id":"","url":"https://api.github.com/users/omokolataiwo","html_url":"https://github.com/omokolataiwo","followers_url":"https://api.github.com/users/omokolataiwo/followers","following_url":"https://api.github.com/users/omokolataiwo/following{/other_user}","gists_url":"https://api.github.com/users/omokolataiwo/gists{/gist_id}","starred_url":"https://api.github.com/users/omokolataiwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omokolataiwo/subscriptions","organizations_url":"https://api.github.com/users/omokolataiwo/orgs","repos_url":"https://api.github.com/users/omokolataiwo/repos","events_url":"https://api.github.com/users/omokolataiwo/events{/privacy}","received_events_url":"https://api.github.com/users/omokolataiwo/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdd Super Admin should be able to approve centers.\r\n\r\n#### Description of Task to be completed?\r\n- Add route  to approve center\r\n- Add component for super admin\r\n- Add authentication for super admin\r\n- Add super admin landing page\r\n- Add action creator for approving centers\r\n\r\n#### How should this be manually tested?\r\n- Clone the repository\r\n- `cd <project_directory>`\r\n- run `npm install`\r\n- run `npm start`\r\n- `cd client`\r\n- `npm install`\r\n- `cd .. && npm run build && npm run start`\r\n- open your browser and navigation to `http://localhost:5000`\r\n- `Sign-in  the application as super admin (username: super, password: 123)`\r\n\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[Finishes: #157364735]","created_at":"2018-05-07T16:42:46Z","updated_at":"2018-05-07T16:48:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9bb96b5ecaea3d97c3ad60cbb7b9677a4d98e2e7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44/commits","review_comments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44/comments","review_comment_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/44/comments","statuses_url":"https://api.github.com/repos/omokolataiwo/eventmanager/statuses/060ec5dadff2f5c4c1414bd916a788871797f8a9","head":{"label":"omokolataiwo:feat/157364735/approve-center","ref":"feat/157364735/approve-center","sha":"060ec5dadff2f5c4c1414bd916a788871797f8a9","user":{"login":"omokolataiwo","id":30238960,"avatar_url":"https://avatars3.githubusercontent.com/u/30238960?v=4","gravatar_id":"","url":"https://api.github.com/users/omokolataiwo","html_url":"https://github.com/omokolataiwo","followers_url":"https://api.github.com/users/omokolataiwo/followers","following_url":"https://api.github.com/users/omokolataiwo/following{/other_user}","gists_url":"https://api.github.com/users/omokolataiwo/gists{/gist_id}","starred_url":"https://api.github.com/users/omokolataiwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omokolataiwo/subscriptions","organizations_url":"https://api.github.com/users/omokolataiwo/orgs","repos_url":"https://api.github.com/users/omokolataiwo/repos","events_url":"https://api.github.com/users/omokolataiwo/events{/privacy}","received_events_url":"https://api.github.com/users/omokolataiwo/received_events","type":"User","site_admin":false},"repo":{"id":110697270,"name":"eventmanager","full_name":"omokolataiwo/eventmanager","owner":{"login":"omokolataiwo","id":30238960,"avatar_url":"https://avatars3.githubusercontent.com/u/30238960?v=4","gravatar_id":"","url":"https://api.github.com/users/omokolataiwo","html_url":"https://github.com/omokolataiwo","followers_url":"https://api.github.com/users/omokolataiwo/followers","following_url":"https://api.github.com/users/omokolataiwo/following{/other_user}","gists_url":"https://api.github.com/users/omokolataiwo/gists{/gist_id}","starred_url":"https://api.github.com/users/omokolataiwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omokolataiwo/subscriptions","organizations_url":"https://api.github.com/users/omokolataiwo/orgs","repos_url":"https://api.github.com/users/omokolataiwo/repos","events_url":"https://api.github.com/users/omokolataiwo/events{/privacy}","received_events_url":"https://api.github.com/users/omokolataiwo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omokolataiwo/eventmanager","description":"EventManager that manages your booking for your events. EventManager is very convenient way of booking your events. ","fork":false,"url":"https://api.github.com/repos/omokolataiwo/eventmanager","forks_url":"https://api.github.com/repos/omokolataiwo/eventmanager/forks","keys_url":"https://api.github.com/repos/omokolataiwo/eventmanager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omokolataiwo/eventmanager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omokolataiwo/eventmanager/teams","hooks_url":"https://api.github.com/repos/omokolataiwo/eventmanager/hooks","issue_events_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/events{/number}","events_url":"https://api.github.com/repos/omokolataiwo/eventmanager/events","assignees_url":"https://api.github.com/repos/omokolataiwo/eventmanager/assignees{/user}","branches_url":"https://api.github.com/repos/omokolataiwo/eventmanager/branches{/branch}","tags_url":"https://api.github.com/repos/omokolataiwo/eventmanager/tags","blobs_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/refs{/sha}","trees_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omokolataiwo/eventmanager/statuses/{sha}","languages_url":"https://api.github.com/repos/omokolataiwo/eventmanager/languages","stargazers_url":"https://api.github.com/repos/omokolataiwo/eventmanager/stargazers","contributors_url":"https://api.github.com/repos/omokolataiwo/eventmanager/contributors","subscribers_url":"https://api.github.com/repos/omokolataiwo/eventmanager/subscribers","subscription_url":"https://api.github.com/repos/omokolataiwo/eventmanager/subscription","commits_url":"https://api.github.com/repos/omokolataiwo/eventmanager/commits{/sha}","git_commits_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/commits{/sha}","comments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/comments{/number}","issue_comment_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/comments{/number}","contents_url":"https://api.github.com/repos/omokolataiwo/eventmanager/contents/{+path}","compare_url":"https://api.github.com/repos/omokolataiwo/eventmanager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omokolataiwo/eventmanager/merges","archive_url":"https://api.github.com/repos/omokolataiwo/eventmanager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omokolataiwo/eventmanager/downloads","issues_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues{/number}","pulls_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls{/number}","milestones_url":"https://api.github.com/repos/omokolataiwo/eventmanager/milestones{/number}","notifications_url":"https://api.github.com/repos/omokolataiwo/eventmanager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omokolataiwo/eventmanager/labels{/name}","releases_url":"https://api.github.com/repos/omokolataiwo/eventmanager/releases{/id}","deployments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/deployments","created_at":"2017-11-14T13:59:38Z","updated_at":"2018-05-06T19:37:33Z","pushed_at":"2018-05-07T16:42:47Z","git_url":"git://github.com/omokolataiwo/eventmanager.git","ssh_url":"git@github.com:omokolataiwo/eventmanager.git","clone_url":"https://github.com/omokolataiwo/eventmanager.git","svn_url":"https://github.com/omokolataiwo/eventmanager","homepage":"","size":34751,"stargazers_count":1,"watchers_count":1,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"omokolataiwo:develop","ref":"develop","sha":"b76f50a72c9bc1c260e555501f85e56b378f4b7a","user":{"login":"omokolataiwo","id":30238960,"avatar_url":"https://avatars3.githubusercontent.com/u/30238960?v=4","gravatar_id":"","url":"https://api.github.com/users/omokolataiwo","html_url":"https://github.com/omokolataiwo","followers_url":"https://api.github.com/users/omokolataiwo/followers","following_url":"https://api.github.com/users/omokolataiwo/following{/other_user}","gists_url":"https://api.github.com/users/omokolataiwo/gists{/gist_id}","starred_url":"https://api.github.com/users/omokolataiwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omokolataiwo/subscriptions","organizations_url":"https://api.github.com/users/omokolataiwo/orgs","repos_url":"https://api.github.com/users/omokolataiwo/repos","events_url":"https://api.github.com/users/omokolataiwo/events{/privacy}","received_events_url":"https://api.github.com/users/omokolataiwo/received_events","type":"User","site_admin":false},"repo":{"id":110697270,"name":"eventmanager","full_name":"omokolataiwo/eventmanager","owner":{"login":"omokolataiwo","id":30238960,"avatar_url":"https://avatars3.githubusercontent.com/u/30238960?v=4","gravatar_id":"","url":"https://api.github.com/users/omokolataiwo","html_url":"https://github.com/omokolataiwo","followers_url":"https://api.github.com/users/omokolataiwo/followers","following_url":"https://api.github.com/users/omokolataiwo/following{/other_user}","gists_url":"https://api.github.com/users/omokolataiwo/gists{/gist_id}","starred_url":"https://api.github.com/users/omokolataiwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omokolataiwo/subscriptions","organizations_url":"https://api.github.com/users/omokolataiwo/orgs","repos_url":"https://api.github.com/users/omokolataiwo/repos","events_url":"https://api.github.com/users/omokolataiwo/events{/privacy}","received_events_url":"https://api.github.com/users/omokolataiwo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/omokolataiwo/eventmanager","description":"EventManager that manages your booking for your events. EventManager is very convenient way of booking your events. ","fork":false,"url":"https://api.github.com/repos/omokolataiwo/eventmanager","forks_url":"https://api.github.com/repos/omokolataiwo/eventmanager/forks","keys_url":"https://api.github.com/repos/omokolataiwo/eventmanager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omokolataiwo/eventmanager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omokolataiwo/eventmanager/teams","hooks_url":"https://api.github.com/repos/omokolataiwo/eventmanager/hooks","issue_events_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/events{/number}","events_url":"https://api.github.com/repos/omokolataiwo/eventmanager/events","assignees_url":"https://api.github.com/repos/omokolataiwo/eventmanager/assignees{/user}","branches_url":"https://api.github.com/repos/omokolataiwo/eventmanager/branches{/branch}","tags_url":"https://api.github.com/repos/omokolataiwo/eventmanager/tags","blobs_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/refs{/sha}","trees_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omokolataiwo/eventmanager/statuses/{sha}","languages_url":"https://api.github.com/repos/omokolataiwo/eventmanager/languages","stargazers_url":"https://api.github.com/repos/omokolataiwo/eventmanager/stargazers","contributors_url":"https://api.github.com/repos/omokolataiwo/eventmanager/contributors","subscribers_url":"https://api.github.com/repos/omokolataiwo/eventmanager/subscribers","subscription_url":"https://api.github.com/repos/omokolataiwo/eventmanager/subscription","commits_url":"https://api.github.com/repos/omokolataiwo/eventmanager/commits{/sha}","git_commits_url":"https://api.github.com/repos/omokolataiwo/eventmanager/git/commits{/sha}","comments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/comments{/number}","issue_comment_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/comments{/number}","contents_url":"https://api.github.com/repos/omokolataiwo/eventmanager/contents/{+path}","compare_url":"https://api.github.com/repos/omokolataiwo/eventmanager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omokolataiwo/eventmanager/merges","archive_url":"https://api.github.com/repos/omokolataiwo/eventmanager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omokolataiwo/eventmanager/downloads","issues_url":"https://api.github.com/repos/omokolataiwo/eventmanager/issues{/number}","pulls_url":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls{/number}","milestones_url":"https://api.github.com/repos/omokolataiwo/eventmanager/milestones{/number}","notifications_url":"https://api.github.com/repos/omokolataiwo/eventmanager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omokolataiwo/eventmanager/labels{/name}","releases_url":"https://api.github.com/repos/omokolataiwo/eventmanager/releases{/id}","deployments_url":"https://api.github.com/repos/omokolataiwo/eventmanager/deployments","created_at":"2017-11-14T13:59:38Z","updated_at":"2018-05-06T19:37:33Z","pushed_at":"2018-05-07T16:42:47Z","git_url":"git://github.com/omokolataiwo/eventmanager.git","ssh_url":"git@github.com:omokolataiwo/eventmanager.git","clone_url":"https://github.com/omokolataiwo/eventmanager.git","svn_url":"https://github.com/omokolataiwo/eventmanager","homepage":"","size":34751,"stargazers_count":1,"watchers_count":1,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44"},"html":{"href":"https://github.com/omokolataiwo/eventmanager/pull/44"},"issue":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/44"},"comments":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/omokolataiwo/eventmanager/statuses/060ec5dadff2f5c4c1414bd916a788871797f8a9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}