{"action":"created","comment":{"url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/comments/189239068","pull_request_review_id":121381421,"id":189239068,"diff_hunk":"@@ -36,6 +37,44 @@ class RequestController {\n       });\n     }\n   }\n+\n+  /**\n+ * it GET all requests\n+ * @param {string} req\n+ * @param {string} res\n+ * @returns {object} object\n+ */\n+  static getARequest(req, res) {\n+    const id = parseInt(req.params.id, 10);","path":"server/dummyControllers/requestController.js","position":18,"original_position":18,"commit_id":"1433fcf76161506eca625a0a9e89058a6a587658","original_commit_id":"1433fcf76161506eca625a0a9e89058a6a587658","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":"check for edge cases do you what happens when you parseInt a string?","created_at":"2018-05-18T11:25:27Z","updated_at":"2018-05-18T11:25:27Z","html_url":"https://github.com/TMDav007/Maintenance-Tracker/pull/15#discussion_r189239068","pull_request_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/comments/189239068"},"html":{"href":"https://github.com/TMDav007/Maintenance-Tracker/pull/15#discussion_r189239068"},"pull_request":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15","id":188863146,"html_url":"https://github.com/TMDav007/Maintenance-Tracker/pull/15","diff_url":"https://github.com/TMDav007/Maintenance-Tracker/pull/15.diff","patch_url":"https://github.com/TMDav007/Maintenance-Tracker/pull/15.patch","issue_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/15","number":15,"state":"open","locked":false,"title":"#157645105 get a users request","user":{"login":"TMDav007","id":24706493,"avatar_url":"https://avatars0.githubusercontent.com/u/24706493?v=4","gravatar_id":"","url":"https://api.github.com/users/TMDav007","html_url":"https://github.com/TMDav007","followers_url":"https://api.github.com/users/TMDav007/followers","following_url":"https://api.github.com/users/TMDav007/following{/other_user}","gists_url":"https://api.github.com/users/TMDav007/gists{/gist_id}","starred_url":"https://api.github.com/users/TMDav007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMDav007/subscriptions","organizations_url":"https://api.github.com/users/TMDav007/orgs","repos_url":"https://api.github.com/users/TMDav007/repos","events_url":"https://api.github.com/users/TMDav007/events{/privacy}","received_events_url":"https://api.github.com/users/TMDav007/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- This PR GET a users request from the  dummy endpoint\r\n\r\n#### Description of Task to be completed?\r\n-  The task completed enables a user get a request from the api\r\n\r\n#### Any background context you want to provide?\r\n- This task was completed using the Nodejs/Express framework web\r\n\r\n#### What are the relevant Github Issues?\r\n- None\r\n\r\n#### Questions:\r\n- None","created_at":"2018-05-17T21:14:16Z","updated_at":"2018-05-18T11:25:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"760de598d72a80c89568e42a78f521d25f4c32bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15/commits","review_comments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15/comments","review_comment_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/15/comments","statuses_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/statuses/1433fcf76161506eca625a0a9e89058a6a587658","head":{"label":"TMDav007:ft-user-get-a-request-157645105","ref":"ft-user-get-a-request-157645105","sha":"1433fcf76161506eca625a0a9e89058a6a587658","user":{"login":"TMDav007","id":24706493,"avatar_url":"https://avatars0.githubusercontent.com/u/24706493?v=4","gravatar_id":"","url":"https://api.github.com/users/TMDav007","html_url":"https://github.com/TMDav007","followers_url":"https://api.github.com/users/TMDav007/followers","following_url":"https://api.github.com/users/TMDav007/following{/other_user}","gists_url":"https://api.github.com/users/TMDav007/gists{/gist_id}","starred_url":"https://api.github.com/users/TMDav007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMDav007/subscriptions","organizations_url":"https://api.github.com/users/TMDav007/orgs","repos_url":"https://api.github.com/users/TMDav007/repos","events_url":"https://api.github.com/users/TMDav007/events{/privacy}","received_events_url":"https://api.github.com/users/TMDav007/received_events","type":"User","site_admin":false},"repo":{"id":133418319,"name":"Maintenance-Tracker","full_name":"TMDav007/Maintenance-Tracker","owner":{"login":"TMDav007","id":24706493,"avatar_url":"https://avatars0.githubusercontent.com/u/24706493?v=4","gravatar_id":"","url":"https://api.github.com/users/TMDav007","html_url":"https://github.com/TMDav007","followers_url":"https://api.github.com/users/TMDav007/followers","following_url":"https://api.github.com/users/TMDav007/following{/other_user}","gists_url":"https://api.github.com/users/TMDav007/gists{/gist_id}","starred_url":"https://api.github.com/users/TMDav007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMDav007/subscriptions","organizations_url":"https://api.github.com/users/TMDav007/orgs","repos_url":"https://api.github.com/users/TMDav007/repos","events_url":"https://api.github.com/users/TMDav007/events{/privacy}","received_events_url":"https://api.github.com/users/TMDav007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TMDav007/Maintenance-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker","forks_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/deployments","created_at":"2018-05-14T20:35:11Z","updated_at":"2018-05-17T20:32:45Z","pushed_at":"2018-05-18T11:04:03Z","git_url":"git://github.com/TMDav007/Maintenance-Tracker.git","ssh_url":"git@github.com:TMDav007/Maintenance-Tracker.git","clone_url":"https://github.com/TMDav007/Maintenance-Tracker.git","svn_url":"https://github.com/TMDav007/Maintenance-Tracker","homepage":null,"size":2606,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"TMDav007:develop","ref":"develop","sha":"1d5f1324b6f9d9c5c5a46dab44ac427e5e864256","user":{"login":"TMDav007","id":24706493,"avatar_url":"https://avatars0.githubusercontent.com/u/24706493?v=4","gravatar_id":"","url":"https://api.github.com/users/TMDav007","html_url":"https://github.com/TMDav007","followers_url":"https://api.github.com/users/TMDav007/followers","following_url":"https://api.github.com/users/TMDav007/following{/other_user}","gists_url":"https://api.github.com/users/TMDav007/gists{/gist_id}","starred_url":"https://api.github.com/users/TMDav007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMDav007/subscriptions","organizations_url":"https://api.github.com/users/TMDav007/orgs","repos_url":"https://api.github.com/users/TMDav007/repos","events_url":"https://api.github.com/users/TMDav007/events{/privacy}","received_events_url":"https://api.github.com/users/TMDav007/received_events","type":"User","site_admin":false},"repo":{"id":133418319,"name":"Maintenance-Tracker","full_name":"TMDav007/Maintenance-Tracker","owner":{"login":"TMDav007","id":24706493,"avatar_url":"https://avatars0.githubusercontent.com/u/24706493?v=4","gravatar_id":"","url":"https://api.github.com/users/TMDav007","html_url":"https://github.com/TMDav007","followers_url":"https://api.github.com/users/TMDav007/followers","following_url":"https://api.github.com/users/TMDav007/following{/other_user}","gists_url":"https://api.github.com/users/TMDav007/gists{/gist_id}","starred_url":"https://api.github.com/users/TMDav007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TMDav007/subscriptions","organizations_url":"https://api.github.com/users/TMDav007/orgs","repos_url":"https://api.github.com/users/TMDav007/repos","events_url":"https://api.github.com/users/TMDav007/events{/privacy}","received_events_url":"https://api.github.com/users/TMDav007/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TMDav007/Maintenance-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker","forks_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/deployments","created_at":"2018-05-14T20:35:11Z","updated_at":"2018-05-17T20:32:45Z","pushed_at":"2018-05-18T11:04:03Z","git_url":"git://github.com/TMDav007/Maintenance-Tracker.git","ssh_url":"git@github.com:TMDav007/Maintenance-Tracker.git","clone_url":"https://github.com/TMDav007/Maintenance-Tracker.git","svn_url":"https://github.com/TMDav007/Maintenance-Tracker","homepage":null,"size":2606,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15"},"html":{"href":"https://github.com/TMDav007/Maintenance-Tracker/pull/15"},"issue":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/15"},"comments":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/TMDav007/Maintenance-Tracker/statuses/1433fcf76161506eca625a0a9e89058a6a587658"}},"author_association":"OWNER"}}
{"actor":{"display_login":"nebanat"}}