{"action":"closed","number":36,"pull_request":{"url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36","id":190455702,"html_url":"https://github.com/cwizard2011/maintenace-tracker-app/pull/36","diff_url":"https://github.com/cwizard2011/maintenace-tracker-app/pull/36.diff","patch_url":"https://github.com/cwizard2011/maintenace-tracker-app/pull/36.patch","issue_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/36","number":36,"state":"closed","locked":false,"title":"#157722251 Setup method to resolve user request","user":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nIt setup method for admin to resolve request\r\n\r\n#### Description of Task to be completed?\r\nTo resolve a request\r\n\r\n#### How should this be manually tested?\r\n- Clone this repository\r\n- navigate to the ```maintenace-tracker-app```  directory\r\n- run npm install\r\n- create a .env file at the root of the project following the guide from ```.env.example``` file found at the root of this repository and setup your port\r\n- run ```npm run start```\r\n- launch postman and send a POST request to ```localhost:'your port'/api/v1/auth/login``` or ```/auth/signup``` to login or create a new user or contact me for admin login\r\n- copy the received token and insert into the header of your request before sending a PUT request to ```localhost:PORT/api/requests/:requestId/resolve```  all requests belonging to you\r\n\r\n- To run test,  run ```npm run test``` in your terminal\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#157722251\r\n\r\n\r\n\r\n\r\n","created_at":"2018-05-25T00:43:06Z","updated_at":"2018-05-25T00:44:58Z","closed_at":"2018-05-25T00:44:58Z","merged_at":"2018-05-25T00:44:58Z","merge_commit_sha":"7fe3667362e27432c2c07999b545534c2579cedf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36/commits","review_comments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36/comments","review_comment_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/36/comments","statuses_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/statuses/259b1ae9830762540749f71d053b8b97eed81205","head":{"label":"cwizard2011:ft-resolve-request-157722251","ref":"ft-resolve-request-157722251","sha":"259b1ae9830762540749f71d053b8b97eed81205","user":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"repo":{"id":133388896,"name":"maintenace-tracker-app","full_name":"cwizard2011/maintenace-tracker-app","owner":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cwizard2011/maintenace-tracker-app","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/cwizard2011/maintenace-tracker-app","forks_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/forks","keys_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/teams","hooks_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/hooks","issue_events_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/events{/number}","events_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/events","assignees_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/assignees{/user}","branches_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/branches{/branch}","tags_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/tags","blobs_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/statuses/{sha}","languages_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/languages","stargazers_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/stargazers","contributors_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/contributors","subscribers_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/subscribers","subscription_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/subscription","commits_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/contents/{+path}","compare_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/merges","archive_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/downloads","issues_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues{/number}","pulls_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls{/number}","milestones_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/milestones{/number}","notifications_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/labels{/name}","releases_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/releases{/id}","deployments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/deployments","created_at":"2018-05-14T16:12:11Z","updated_at":"2018-05-25T00:00:55Z","pushed_at":"2018-05-25T00:44:58Z","git_url":"git://github.com/cwizard2011/maintenace-tracker-app.git","ssh_url":"git@github.com:cwizard2011/maintenace-tracker-app.git","clone_url":"https://github.com/cwizard2011/maintenace-tracker-app.git","svn_url":"https://github.com/cwizard2011/maintenace-tracker-app","homepage":"https://cwizard2011.github.io/maintenace-tracker-app/UI/","size":595,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cwizard2011:develop","ref":"develop","sha":"3ab73171e1475117bc2ca86916bc0b76f4d36fa4","user":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"repo":{"id":133388896,"name":"maintenace-tracker-app","full_name":"cwizard2011/maintenace-tracker-app","owner":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cwizard2011/maintenace-tracker-app","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/cwizard2011/maintenace-tracker-app","forks_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/forks","keys_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/teams","hooks_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/hooks","issue_events_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/events{/number}","events_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/events","assignees_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/assignees{/user}","branches_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/branches{/branch}","tags_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/tags","blobs_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/statuses/{sha}","languages_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/languages","stargazers_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/stargazers","contributors_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/contributors","subscribers_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/subscribers","subscription_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/subscription","commits_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/contents/{+path}","compare_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/merges","archive_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/downloads","issues_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues{/number}","pulls_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls{/number}","milestones_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/milestones{/number}","notifications_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/labels{/name}","releases_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/releases{/id}","deployments_url":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/deployments","created_at":"2018-05-14T16:12:11Z","updated_at":"2018-05-25T00:00:55Z","pushed_at":"2018-05-25T00:44:58Z","git_url":"git://github.com/cwizard2011/maintenace-tracker-app.git","ssh_url":"git@github.com:cwizard2011/maintenace-tracker-app.git","clone_url":"https://github.com/cwizard2011/maintenace-tracker-app.git","svn_url":"https://github.com/cwizard2011/maintenace-tracker-app","homepage":"https://cwizard2011.github.io/maintenace-tracker-app/UI/","size":595,"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":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36"},"html":{"href":"https://github.com/cwizard2011/maintenace-tracker-app/pull/36"},"issue":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/36"},"comments":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/cwizard2011/maintenace-tracker-app/statuses/259b1ae9830762540749f71d053b8b97eed81205"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cwizard2011","id":23406358,"avatar_url":"https://avatars0.githubusercontent.com/u/23406358?v=4","gravatar_id":"","url":"https://api.github.com/users/cwizard2011","html_url":"https://github.com/cwizard2011","followers_url":"https://api.github.com/users/cwizard2011/followers","following_url":"https://api.github.com/users/cwizard2011/following{/other_user}","gists_url":"https://api.github.com/users/cwizard2011/gists{/gist_id}","starred_url":"https://api.github.com/users/cwizard2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwizard2011/subscriptions","organizations_url":"https://api.github.com/users/cwizard2011/orgs","repos_url":"https://api.github.com/users/cwizard2011/repos","events_url":"https://api.github.com/users/cwizard2011/events{/privacy}","received_events_url":"https://api.github.com/users/cwizard2011/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":76,"deletions":1,"changed_files":4}}
{"actor":{"display_login":"cwizard2011"}}