{"action":"closed","number":60,"pull_request":{"url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60","id":221391445,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMzkxNDQ1","html_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36/pull/60","diff_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36/pull/60.diff","patch_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36/pull/60.patch","issue_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/60","number":60,"state":"closed","locked":false,"title":"ch(codeRefactoring):","user":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"body":"\r\n#### What does this PR do?\r\nRefactor codebase and improve code maintainability\r\n#### Description of Task to be completed?\r\n- add helper class for status code\r\n- follow strict eslint rules\r\n- refactor isAutenticated middleware function\r\n- [Finishes #161054220]\r\n\r\n#### How should this be manually tested?\r\nNA\r\n#### What are the relevant pivotal tracker stories?\r\nhttps://www.pivotaltracker.com/story/show/161054220\r\n#### Any background context you want to add?\r\nNA\r\n#### Screenshots\r\nNA","created_at":"2018-10-09T10:47:03Z","updated_at":"2018-10-09T10:57:21Z","closed_at":"2018-10-09T10:57:21Z","merged_at":"2018-10-09T10:57:21Z","merge_commit_sha":"2d87ae0b589983c42b3b5fe33b3462173f9a0b0d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60/commits","review_comments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60/comments","review_comment_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/60/comments","statuses_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/statuses/beaae9b6f4c45316a7fd5abfca2e83e8d855db99","head":{"label":"edogbosunny:ch-refactor-Code-Base-#161054220","ref":"ch-refactor-Code-Base-#161054220","sha":"beaae9b6f4c45316a7fd5abfca2e83e8d855db99","user":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"repo":{"id":146885443,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY4ODU0NDM=","name":"Fast-Food-Fast-Cycle-36","full_name":"edogbosunny/Fast-Food-Fast-Cycle-36","private":false,"owner":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"html_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36","description":"A simple fast food app.","fork":false,"url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36","forks_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/forks","keys_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/teams","hooks_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/hooks","issue_events_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/events{/number}","events_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/events","assignees_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/assignees{/user}","branches_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/branches{/branch}","tags_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/tags","blobs_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/refs{/sha}","trees_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/statuses/{sha}","languages_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/languages","stargazers_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/stargazers","contributors_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/contributors","subscribers_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/subscribers","subscription_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/subscription","commits_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/commits{/sha}","git_commits_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/commits{/sha}","comments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/comments{/number}","issue_comment_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/comments{/number}","contents_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/contents/{+path}","compare_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/merges","archive_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/downloads","issues_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues{/number}","pulls_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls{/number}","milestones_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/milestones{/number}","notifications_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/labels{/name}","releases_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/releases{/id}","deployments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/deployments","created_at":"2018-08-31T11:50:54Z","updated_at":"2018-10-09T10:36:43Z","pushed_at":"2018-10-09T10:57:21Z","git_url":"git://github.com/edogbosunny/Fast-Food-Fast-Cycle-36.git","ssh_url":"git@github.com:edogbosunny/Fast-Food-Fast-Cycle-36.git","clone_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36.git","svn_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36","homepage":null,"size":7742,"stargazers_count":1,"watchers_count":1,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"edogbosunny:develop","ref":"develop","sha":"8a31a4b719cc8002947acd2ef3dd1735e43e4cd8","user":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"repo":{"id":146885443,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY4ODU0NDM=","name":"Fast-Food-Fast-Cycle-36","full_name":"edogbosunny/Fast-Food-Fast-Cycle-36","private":false,"owner":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"html_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36","description":"A simple fast food app.","fork":false,"url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36","forks_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/forks","keys_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/teams","hooks_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/hooks","issue_events_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/events{/number}","events_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/events","assignees_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/assignees{/user}","branches_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/branches{/branch}","tags_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/tags","blobs_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/refs{/sha}","trees_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/statuses/{sha}","languages_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/languages","stargazers_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/stargazers","contributors_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/contributors","subscribers_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/subscribers","subscription_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/subscription","commits_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/commits{/sha}","git_commits_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/git/commits{/sha}","comments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/comments{/number}","issue_comment_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/comments{/number}","contents_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/contents/{+path}","compare_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/merges","archive_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/downloads","issues_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues{/number}","pulls_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls{/number}","milestones_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/milestones{/number}","notifications_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/labels{/name}","releases_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/releases{/id}","deployments_url":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/deployments","created_at":"2018-08-31T11:50:54Z","updated_at":"2018-10-09T10:36:43Z","pushed_at":"2018-10-09T10:57:21Z","git_url":"git://github.com/edogbosunny/Fast-Food-Fast-Cycle-36.git","ssh_url":"git@github.com:edogbosunny/Fast-Food-Fast-Cycle-36.git","clone_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36.git","svn_url":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36","homepage":null,"size":7742,"stargazers_count":1,"watchers_count":1,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60"},"html":{"href":"https://github.com/edogbosunny/Fast-Food-Fast-Cycle-36/pull/60"},"issue":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/60"},"comments":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/edogbosunny/Fast-Food-Fast-Cycle-36/statuses/beaae9b6f4c45316a7fd5abfca2e83e8d855db99"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"edogbosunny","id":24244392,"node_id":"MDQ6VXNlcjI0MjQ0Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/24244392?v=4","gravatar_id":"","url":"https://api.github.com/users/edogbosunny","html_url":"https://github.com/edogbosunny","followers_url":"https://api.github.com/users/edogbosunny/followers","following_url":"https://api.github.com/users/edogbosunny/following{/other_user}","gists_url":"https://api.github.com/users/edogbosunny/gists{/gist_id}","starred_url":"https://api.github.com/users/edogbosunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edogbosunny/subscriptions","organizations_url":"https://api.github.com/users/edogbosunny/orgs","repos_url":"https://api.github.com/users/edogbosunny/repos","events_url":"https://api.github.com/users/edogbosunny/events{/privacy}","received_events_url":"https://api.github.com/users/edogbosunny/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"edogbosunny"}}