{"action":"created","comment":{"url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/comments/189220832","pull_request_review_id":121358565,"id":189220832,"diff_hunk":"@@ -1,11 +1,13 @@\n import express from 'express';\n import bodyParser from 'body-parser';\n import morgan from 'morgan';\n+import router from './routes/IndexRoute';","path":"server/App.js","position":4,"original_position":4,"commit_id":"7715b734c0b8fcee0344949d87e9baed0aa8ee1f","original_commit_id":"7715b734c0b8fcee0344949d87e9baed0aa8ee1f","user":{"login":"nebanat","id":24405172,"avatar_url":"https://avatars3.githubusercontent.com/u/24405172?v=4","gravatar_id":"","url":"https://api.github.com/users/nebanat","html_url":"https://github.com/nebanat","followers_url":"https://api.github.com/users/nebanat/followers","following_url":"https://api.github.com/users/nebanat/following{/other_user}","gists_url":"https://api.github.com/users/nebanat/gists{/gist_id}","starred_url":"https://api.github.com/users/nebanat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebanat/subscriptions","organizations_url":"https://api.github.com/users/nebanat/orgs","repos_url":"https://api.github.com/users/nebanat/repos","events_url":"https://api.github.com/users/nebanat/events{/privacy}","received_events_url":"https://api.github.com/users/nebanat/received_events","type":"User","site_admin":false},"body":"The default export should match the base file name. check out Airbnb style guide.","created_at":"2018-05-18T09:59:40Z","updated_at":"2018-05-18T09:59:40Z","html_url":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17#discussion_r189220832","pull_request_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/comments/189220832"},"html":{"href":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17#discussion_r189220832"},"pull_request":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17","id":188918861,"html_url":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17","diff_url":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17.diff","patch_url":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17.patch","issue_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/17","number":17,"state":"open","locked":false,"title":"#157581591 Create get all request endpoints","user":{"login":"augustineezinwa","id":30579559,"avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR gets all requests that belong to a particular user\r\n#### Description of Task to be completed?\r\nThe requests is housed in an array. Each request has an id, and a userId. To get a request that belongs to a particular user, A filter command has to be run that will skim through the array searching for all request that belongs to that user.\r\n#### How should this be manually tested?\r\n`npm test`\r\n#### Any background context you want to provide?\r\nNone\r\n#### What are the relevant pivotal tracker stories?\r\n#157581591\r\n#### Screenshots (if appropriate)\r\nNone\r\n#### Questions:\r\nNone","created_at":"2018-05-18T04:25:32Z","updated_at":"2018-05-18T09:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"114148423fe5403e2e7a88a2dfe7fc0f4fd1124f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17/commits","review_comments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17/comments","review_comment_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/17/comments","statuses_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/statuses/7715b734c0b8fcee0344949d87e9baed0aa8ee1f","head":{"label":"augustineezinwa:ft-get-all-requests-157581591","ref":"ft-get-all-requests-157581591","sha":"7715b734c0b8fcee0344949d87e9baed0aa8ee1f","user":{"login":"augustineezinwa","id":30579559,"avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"repo":{"id":133466271,"name":"Maintenance-Tracker","full_name":"augustineezinwa/Maintenance-Tracker","owner":{"login":"augustineezinwa","id":30579559,"avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/augustineezinwa/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request","fork":false,"url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker","forks_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/deployments","created_at":"2018-05-15T05:58:34Z","updated_at":"2018-05-17T22:23:33Z","pushed_at":"2018-05-18T09:44:22Z","git_url":"git://github.com/augustineezinwa/Maintenance-Tracker.git","ssh_url":"git@github.com:augustineezinwa/Maintenance-Tracker.git","clone_url":"https://github.com/augustineezinwa/Maintenance-Tracker.git","svn_url":"https://github.com/augustineezinwa/Maintenance-Tracker","homepage":null,"size":1744,"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":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"base":{"label":"augustineezinwa:develop","ref":"develop","sha":"1b3e5cbb49841b8c7afeef159cee242a8db7daf0","user":{"login":"augustineezinwa","id":30579559,"avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"repo":{"id":133466271,"name":"Maintenance-Tracker","full_name":"augustineezinwa/Maintenance-Tracker","owner":{"login":"augustineezinwa","id":30579559,"avatar_url":"https://avatars3.githubusercontent.com/u/30579559?v=4","gravatar_id":"","url":"https://api.github.com/users/augustineezinwa","html_url":"https://github.com/augustineezinwa","followers_url":"https://api.github.com/users/augustineezinwa/followers","following_url":"https://api.github.com/users/augustineezinwa/following{/other_user}","gists_url":"https://api.github.com/users/augustineezinwa/gists{/gist_id}","starred_url":"https://api.github.com/users/augustineezinwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/augustineezinwa/subscriptions","organizations_url":"https://api.github.com/users/augustineezinwa/orgs","repos_url":"https://api.github.com/users/augustineezinwa/repos","events_url":"https://api.github.com/users/augustineezinwa/events{/privacy}","received_events_url":"https://api.github.com/users/augustineezinwa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/augustineezinwa/Maintenance-Tracker","description":"Maintenance Tracker App is an application that provides users with the ability to reach out to operations or repairs department regarding repair or maintenance requests and monitor the status of their request","fork":false,"url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker","forks_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/deployments","created_at":"2018-05-15T05:58:34Z","updated_at":"2018-05-17T22:23:33Z","pushed_at":"2018-05-18T09:44:22Z","git_url":"git://github.com/augustineezinwa/Maintenance-Tracker.git","ssh_url":"git@github.com:augustineezinwa/Maintenance-Tracker.git","clone_url":"https://github.com/augustineezinwa/Maintenance-Tracker.git","svn_url":"https://github.com/augustineezinwa/Maintenance-Tracker","homepage":null,"size":1744,"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":9,"license":null,"forks":0,"open_issues":9,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17"},"html":{"href":"https://github.com/augustineezinwa/Maintenance-Tracker/pull/17"},"issue":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/17"},"comments":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/augustineezinwa/Maintenance-Tracker/statuses/7715b734c0b8fcee0344949d87e9baed0aa8ee1f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"nebanat"}}