{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52","id":216479596,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NDc5NTk2","html_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos/pull/52","diff_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos/pull/52.diff","patch_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos/pull/52.patch","issue_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/52","number":52,"state":"open","locked":false,"title":"Restaurant refactor","user":{"login":"danitacheny","id":34424414,"node_id":"MDQ6VXNlcjM0NDI0NDE0","avatar_url":"https://avatars2.githubusercontent.com/u/34424414?v=4","gravatar_id":"","url":"https://api.github.com/users/danitacheny","html_url":"https://github.com/danitacheny","followers_url":"https://api.github.com/users/danitacheny/followers","following_url":"https://api.github.com/users/danitacheny/following{/other_user}","gists_url":"https://api.github.com/users/danitacheny/gists{/gist_id}","starred_url":"https://api.github.com/users/danitacheny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danitacheny/subscriptions","organizations_url":"https://api.github.com/users/danitacheny/orgs","repos_url":"https://api.github.com/users/danitacheny/repos","events_url":"https://api.github.com/users/danitacheny/events{/privacy}","received_events_url":"https://api.github.com/users/danitacheny/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\nRefactors the backend to work with multiple admin accounts and restaurants.\r\n\r\nFixes # (issue)\r\n\r\n## Type of change\r\n\r\nPlease delete options that are not relevant.\r\n\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [x] This change requires a documentation update\r\n\r\n# How Has This Been Tested?\r\n\r\nPlease describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration\r\n\r\n- [x] Manually with Postman\r\n\r\n# Checklist:\r\n\r\n- [x] My code follows the style guidelines of this project\r\n- [x] I have performed a self-review of my own code\r\n- [x] My code has been reviewed by at least one peer\r\n- [x] I have commented my code, particularly in hard-to-understand areas\r\n- [ ] I have made corresponding changes to the documentation\r\n- [x] My changes generate no new warnings\r\n- [x] I have added tests that prove my fix is effective or that my feature works\r\n- [x] New and existing unit tests pass locally with my changes\r\n","created_at":"2018-09-19T00:14:02Z","updated_at":"2018-09-19T00:14:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52/commits","review_comments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52/comments","review_comment_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/52/comments","statuses_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/statuses/0d6d652f9b2c927d4048567d79a0abb115dc43df","head":{"label":"Lambda-School-Labs:restaurant-refactor","ref":"restaurant-refactor","sha":"0d6d652f9b2c927d4048567d79a0abb115dc43df","user":{"login":"Lambda-School-Labs","id":32200850,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjAwODUw","avatar_url":"https://avatars0.githubusercontent.com/u/32200850?v=4","gravatar_id":"","url":"https://api.github.com/users/Lambda-School-Labs","html_url":"https://github.com/Lambda-School-Labs","followers_url":"https://api.github.com/users/Lambda-School-Labs/followers","following_url":"https://api.github.com/users/Lambda-School-Labs/following{/other_user}","gists_url":"https://api.github.com/users/Lambda-School-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambda-School-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambda-School-Labs/subscriptions","organizations_url":"https://api.github.com/users/Lambda-School-Labs/orgs","repos_url":"https://api.github.com/users/Lambda-School-Labs/repos","events_url":"https://api.github.com/users/Lambda-School-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/Lambda-School-Labs/received_events","type":"Organization","site_admin":false},"repo":{"id":148112115,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxMTIxMTU=","name":"CS10-restaurant-pos","full_name":"Lambda-School-Labs/CS10-restaurant-pos","private":false,"owner":{"login":"Lambda-School-Labs","id":32200850,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjAwODUw","avatar_url":"https://avatars0.githubusercontent.com/u/32200850?v=4","gravatar_id":"","url":"https://api.github.com/users/Lambda-School-Labs","html_url":"https://github.com/Lambda-School-Labs","followers_url":"https://api.github.com/users/Lambda-School-Labs/followers","following_url":"https://api.github.com/users/Lambda-School-Labs/following{/other_user}","gists_url":"https://api.github.com/users/Lambda-School-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambda-School-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambda-School-Labs/subscriptions","organizations_url":"https://api.github.com/users/Lambda-School-Labs/orgs","repos_url":"https://api.github.com/users/Lambda-School-Labs/repos","events_url":"https://api.github.com/users/Lambda-School-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/Lambda-School-Labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos","description":null,"fork":false,"url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos","forks_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/forks","keys_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/teams","hooks_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/hooks","issue_events_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/events{/number}","events_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/events","assignees_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/assignees{/user}","branches_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/branches{/branch}","tags_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/tags","blobs_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/statuses/{sha}","languages_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/languages","stargazers_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/stargazers","contributors_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/contributors","subscribers_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/subscribers","subscription_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/subscription","commits_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/contents/{+path}","compare_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/merges","archive_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/downloads","issues_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues{/number}","pulls_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls{/number}","milestones_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/milestones{/number}","notifications_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/labels{/name}","releases_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/releases{/id}","deployments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/deployments","created_at":"2018-09-10T06:54:06Z","updated_at":"2018-09-18T15:08:34Z","pushed_at":"2018-09-19T00:13:51Z","git_url":"git://github.com/Lambda-School-Labs/CS10-restaurant-pos.git","ssh_url":"git@github.com:Lambda-School-Labs/CS10-restaurant-pos.git","clone_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos.git","svn_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos","homepage":null,"size":675,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"Lambda-School-Labs:master","ref":"master","sha":"5f41512598d753277168170a79180ea293bdcddb","user":{"login":"Lambda-School-Labs","id":32200850,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjAwODUw","avatar_url":"https://avatars0.githubusercontent.com/u/32200850?v=4","gravatar_id":"","url":"https://api.github.com/users/Lambda-School-Labs","html_url":"https://github.com/Lambda-School-Labs","followers_url":"https://api.github.com/users/Lambda-School-Labs/followers","following_url":"https://api.github.com/users/Lambda-School-Labs/following{/other_user}","gists_url":"https://api.github.com/users/Lambda-School-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambda-School-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambda-School-Labs/subscriptions","organizations_url":"https://api.github.com/users/Lambda-School-Labs/orgs","repos_url":"https://api.github.com/users/Lambda-School-Labs/repos","events_url":"https://api.github.com/users/Lambda-School-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/Lambda-School-Labs/received_events","type":"Organization","site_admin":false},"repo":{"id":148112115,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgxMTIxMTU=","name":"CS10-restaurant-pos","full_name":"Lambda-School-Labs/CS10-restaurant-pos","private":false,"owner":{"login":"Lambda-School-Labs","id":32200850,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjAwODUw","avatar_url":"https://avatars0.githubusercontent.com/u/32200850?v=4","gravatar_id":"","url":"https://api.github.com/users/Lambda-School-Labs","html_url":"https://github.com/Lambda-School-Labs","followers_url":"https://api.github.com/users/Lambda-School-Labs/followers","following_url":"https://api.github.com/users/Lambda-School-Labs/following{/other_user}","gists_url":"https://api.github.com/users/Lambda-School-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambda-School-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambda-School-Labs/subscriptions","organizations_url":"https://api.github.com/users/Lambda-School-Labs/orgs","repos_url":"https://api.github.com/users/Lambda-School-Labs/repos","events_url":"https://api.github.com/users/Lambda-School-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/Lambda-School-Labs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos","description":null,"fork":false,"url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos","forks_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/forks","keys_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/teams","hooks_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/hooks","issue_events_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/events{/number}","events_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/events","assignees_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/assignees{/user}","branches_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/branches{/branch}","tags_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/tags","blobs_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/statuses/{sha}","languages_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/languages","stargazers_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/stargazers","contributors_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/contributors","subscribers_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/subscribers","subscription_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/subscription","commits_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/contents/{+path}","compare_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/merges","archive_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/downloads","issues_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues{/number}","pulls_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls{/number}","milestones_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/milestones{/number}","notifications_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/labels{/name}","releases_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/releases{/id}","deployments_url":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/deployments","created_at":"2018-09-10T06:54:06Z","updated_at":"2018-09-18T15:08:34Z","pushed_at":"2018-09-19T00:13:51Z","git_url":"git://github.com/Lambda-School-Labs/CS10-restaurant-pos.git","ssh_url":"git@github.com:Lambda-School-Labs/CS10-restaurant-pos.git","clone_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos.git","svn_url":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos","homepage":null,"size":675,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52"},"html":{"href":"https://github.com/Lambda-School-Labs/CS10-restaurant-pos/pull/52"},"issue":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/52"},"comments":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/Lambda-School-Labs/CS10-restaurant-pos/statuses/0d6d652f9b2c927d4048567d79a0abb115dc43df"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":24,"additions":1136,"deletions":883,"changed_files":15}}
{"actor":{"display_login":"danitacheny"}}