{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/66","id":226975187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2OTc1MTg3","html_url":"https://github.com/apium-graveolens/buynCel/pull/66","diff_url":"https://github.com/apium-graveolens/buynCel/pull/66.diff","patch_url":"https://github.com/apium-graveolens/buynCel/pull/66.patch","issue_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/66","number":66,"state":"open","locked":false,"title":"added tweaks to api/user","user":{"login":"LexBedwell","id":39227920,"node_id":"MDQ6VXNlcjM5MjI3OTIw","avatar_url":"https://avatars3.githubusercontent.com/u/39227920?v=4","gravatar_id":"","url":"https://api.github.com/users/LexBedwell","html_url":"https://github.com/LexBedwell","followers_url":"https://api.github.com/users/LexBedwell/followers","following_url":"https://api.github.com/users/LexBedwell/following{/other_user}","gists_url":"https://api.github.com/users/LexBedwell/gists{/gist_id}","starred_url":"https://api.github.com/users/LexBedwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LexBedwell/subscriptions","organizations_url":"https://api.github.com/users/LexBedwell/orgs","repos_url":"https://api.github.com/users/LexBedwell/repos","events_url":"https://api.github.com/users/LexBedwell/events{/privacy}","received_events_url":"https://api.github.com/users/LexBedwell/received_events","type":"User","site_admin":false},"body":"Did some minor auth tweaks to the /user routes that occurred to me last night.\r\n\r\nMade it so: \r\n -Users cannot set themselves as an admin when they create their account\r\n- Users cannot update/edit their accounts to set themselves as admin. Only an admin can toggle a user's admin status via a separate route. ","created_at":"2018-10-30T15:42:27Z","updated_at":"2018-10-30T15:42:27Z","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/apium-graveolens/buynCel/pulls/66/commits","review_comments_url":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/66/comments","review_comment_url":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/66/comments","statuses_url":"https://api.github.com/repos/apium-graveolens/buynCel/statuses/10c52271a59a29a10fb8e2bf50f910302a02dd6f","head":{"label":"apium-graveolens:api_tweak","ref":"api_tweak","sha":"10c52271a59a29a10fb8e2bf50f910302a02dd6f","user":{"login":"apium-graveolens","id":44419236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE5MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/44419236?v=4","gravatar_id":"","url":"https://api.github.com/users/apium-graveolens","html_url":"https://github.com/apium-graveolens","followers_url":"https://api.github.com/users/apium-graveolens/followers","following_url":"https://api.github.com/users/apium-graveolens/following{/other_user}","gists_url":"https://api.github.com/users/apium-graveolens/gists{/gist_id}","starred_url":"https://api.github.com/users/apium-graveolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apium-graveolens/subscriptions","organizations_url":"https://api.github.com/users/apium-graveolens/orgs","repos_url":"https://api.github.com/users/apium-graveolens/repos","events_url":"https://api.github.com/users/apium-graveolens/events{/privacy}","received_events_url":"https://api.github.com/users/apium-graveolens/received_events","type":"Organization","site_admin":false},"repo":{"id":154415286,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0MTUyODY=","name":"buynCel","full_name":"apium-graveolens/buynCel","private":false,"owner":{"login":"apium-graveolens","id":44419236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE5MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/44419236?v=4","gravatar_id":"","url":"https://api.github.com/users/apium-graveolens","html_url":"https://github.com/apium-graveolens","followers_url":"https://api.github.com/users/apium-graveolens/followers","following_url":"https://api.github.com/users/apium-graveolens/following{/other_user}","gists_url":"https://api.github.com/users/apium-graveolens/gists{/gist_id}","starred_url":"https://api.github.com/users/apium-graveolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apium-graveolens/subscriptions","organizations_url":"https://api.github.com/users/apium-graveolens/orgs","repos_url":"https://api.github.com/users/apium-graveolens/repos","events_url":"https://api.github.com/users/apium-graveolens/events{/privacy}","received_events_url":"https://api.github.com/users/apium-graveolens/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apium-graveolens/buynCel","description":"aka Grace Shoppr","fork":false,"url":"https://api.github.com/repos/apium-graveolens/buynCel","forks_url":"https://api.github.com/repos/apium-graveolens/buynCel/forks","keys_url":"https://api.github.com/repos/apium-graveolens/buynCel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apium-graveolens/buynCel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apium-graveolens/buynCel/teams","hooks_url":"https://api.github.com/repos/apium-graveolens/buynCel/hooks","issue_events_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/events{/number}","events_url":"https://api.github.com/repos/apium-graveolens/buynCel/events","assignees_url":"https://api.github.com/repos/apium-graveolens/buynCel/assignees{/user}","branches_url":"https://api.github.com/repos/apium-graveolens/buynCel/branches{/branch}","tags_url":"https://api.github.com/repos/apium-graveolens/buynCel/tags","blobs_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/refs{/sha}","trees_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apium-graveolens/buynCel/statuses/{sha}","languages_url":"https://api.github.com/repos/apium-graveolens/buynCel/languages","stargazers_url":"https://api.github.com/repos/apium-graveolens/buynCel/stargazers","contributors_url":"https://api.github.com/repos/apium-graveolens/buynCel/contributors","subscribers_url":"https://api.github.com/repos/apium-graveolens/buynCel/subscribers","subscription_url":"https://api.github.com/repos/apium-graveolens/buynCel/subscription","commits_url":"https://api.github.com/repos/apium-graveolens/buynCel/commits{/sha}","git_commits_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/commits{/sha}","comments_url":"https://api.github.com/repos/apium-graveolens/buynCel/comments{/number}","issue_comment_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/comments{/number}","contents_url":"https://api.github.com/repos/apium-graveolens/buynCel/contents/{+path}","compare_url":"https://api.github.com/repos/apium-graveolens/buynCel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apium-graveolens/buynCel/merges","archive_url":"https://api.github.com/repos/apium-graveolens/buynCel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apium-graveolens/buynCel/downloads","issues_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues{/number}","pulls_url":"https://api.github.com/repos/apium-graveolens/buynCel/pulls{/number}","milestones_url":"https://api.github.com/repos/apium-graveolens/buynCel/milestones{/number}","notifications_url":"https://api.github.com/repos/apium-graveolens/buynCel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apium-graveolens/buynCel/labels{/name}","releases_url":"https://api.github.com/repos/apium-graveolens/buynCel/releases{/id}","deployments_url":"https://api.github.com/repos/apium-graveolens/buynCel/deployments","created_at":"2018-10-24T00:39:14Z","updated_at":"2018-10-30T00:59:20Z","pushed_at":"2018-10-30T15:38:10Z","git_url":"git://github.com/apium-graveolens/buynCel.git","ssh_url":"git@github.com:apium-graveolens/buynCel.git","clone_url":"https://github.com/apium-graveolens/buynCel.git","svn_url":"https://github.com/apium-graveolens/buynCel","homepage":null,"size":210,"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":41,"license":null,"forks":0,"open_issues":41,"watchers":1,"default_branch":"master"}},"base":{"label":"apium-graveolens:master","ref":"master","sha":"e67656bac6d1ab57ff82ea8be34db9ffb8ee4c30","user":{"login":"apium-graveolens","id":44419236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE5MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/44419236?v=4","gravatar_id":"","url":"https://api.github.com/users/apium-graveolens","html_url":"https://github.com/apium-graveolens","followers_url":"https://api.github.com/users/apium-graveolens/followers","following_url":"https://api.github.com/users/apium-graveolens/following{/other_user}","gists_url":"https://api.github.com/users/apium-graveolens/gists{/gist_id}","starred_url":"https://api.github.com/users/apium-graveolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apium-graveolens/subscriptions","organizations_url":"https://api.github.com/users/apium-graveolens/orgs","repos_url":"https://api.github.com/users/apium-graveolens/repos","events_url":"https://api.github.com/users/apium-graveolens/events{/privacy}","received_events_url":"https://api.github.com/users/apium-graveolens/received_events","type":"Organization","site_admin":false},"repo":{"id":154415286,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ0MTUyODY=","name":"buynCel","full_name":"apium-graveolens/buynCel","private":false,"owner":{"login":"apium-graveolens","id":44419236,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NDE5MjM2","avatar_url":"https://avatars0.githubusercontent.com/u/44419236?v=4","gravatar_id":"","url":"https://api.github.com/users/apium-graveolens","html_url":"https://github.com/apium-graveolens","followers_url":"https://api.github.com/users/apium-graveolens/followers","following_url":"https://api.github.com/users/apium-graveolens/following{/other_user}","gists_url":"https://api.github.com/users/apium-graveolens/gists{/gist_id}","starred_url":"https://api.github.com/users/apium-graveolens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apium-graveolens/subscriptions","organizations_url":"https://api.github.com/users/apium-graveolens/orgs","repos_url":"https://api.github.com/users/apium-graveolens/repos","events_url":"https://api.github.com/users/apium-graveolens/events{/privacy}","received_events_url":"https://api.github.com/users/apium-graveolens/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/apium-graveolens/buynCel","description":"aka Grace Shoppr","fork":false,"url":"https://api.github.com/repos/apium-graveolens/buynCel","forks_url":"https://api.github.com/repos/apium-graveolens/buynCel/forks","keys_url":"https://api.github.com/repos/apium-graveolens/buynCel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apium-graveolens/buynCel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apium-graveolens/buynCel/teams","hooks_url":"https://api.github.com/repos/apium-graveolens/buynCel/hooks","issue_events_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/events{/number}","events_url":"https://api.github.com/repos/apium-graveolens/buynCel/events","assignees_url":"https://api.github.com/repos/apium-graveolens/buynCel/assignees{/user}","branches_url":"https://api.github.com/repos/apium-graveolens/buynCel/branches{/branch}","tags_url":"https://api.github.com/repos/apium-graveolens/buynCel/tags","blobs_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/refs{/sha}","trees_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apium-graveolens/buynCel/statuses/{sha}","languages_url":"https://api.github.com/repos/apium-graveolens/buynCel/languages","stargazers_url":"https://api.github.com/repos/apium-graveolens/buynCel/stargazers","contributors_url":"https://api.github.com/repos/apium-graveolens/buynCel/contributors","subscribers_url":"https://api.github.com/repos/apium-graveolens/buynCel/subscribers","subscription_url":"https://api.github.com/repos/apium-graveolens/buynCel/subscription","commits_url":"https://api.github.com/repos/apium-graveolens/buynCel/commits{/sha}","git_commits_url":"https://api.github.com/repos/apium-graveolens/buynCel/git/commits{/sha}","comments_url":"https://api.github.com/repos/apium-graveolens/buynCel/comments{/number}","issue_comment_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues/comments{/number}","contents_url":"https://api.github.com/repos/apium-graveolens/buynCel/contents/{+path}","compare_url":"https://api.github.com/repos/apium-graveolens/buynCel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apium-graveolens/buynCel/merges","archive_url":"https://api.github.com/repos/apium-graveolens/buynCel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apium-graveolens/buynCel/downloads","issues_url":"https://api.github.com/repos/apium-graveolens/buynCel/issues{/number}","pulls_url":"https://api.github.com/repos/apium-graveolens/buynCel/pulls{/number}","milestones_url":"https://api.github.com/repos/apium-graveolens/buynCel/milestones{/number}","notifications_url":"https://api.github.com/repos/apium-graveolens/buynCel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apium-graveolens/buynCel/labels{/name}","releases_url":"https://api.github.com/repos/apium-graveolens/buynCel/releases{/id}","deployments_url":"https://api.github.com/repos/apium-graveolens/buynCel/deployments","created_at":"2018-10-24T00:39:14Z","updated_at":"2018-10-30T00:59:20Z","pushed_at":"2018-10-30T15:38:10Z","git_url":"git://github.com/apium-graveolens/buynCel.git","ssh_url":"git@github.com:apium-graveolens/buynCel.git","clone_url":"https://github.com/apium-graveolens/buynCel.git","svn_url":"https://github.com/apium-graveolens/buynCel","homepage":null,"size":210,"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":41,"license":null,"forks":0,"open_issues":41,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/66"},"html":{"href":"https://github.com/apium-graveolens/buynCel/pull/66"},"issue":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/issues/66"},"comments":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/apium-graveolens/buynCel/statuses/10c52271a59a29a10fb8e2bf50f910302a02dd6f"}},"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":1,"additions":37,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"LexBedwell"}}