{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4","id":84984485,"html_url":"https://github.com/sendjmoon/Ultimate-Pi/pull/4","diff_url":"https://github.com/sendjmoon/Ultimate-Pi/pull/4.diff","patch_url":"https://github.com/sendjmoon/Ultimate-Pi/pull/4.patch","issue_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/4","number":4,"state":"closed","locked":false,"title":"Tweaking auth to redirect based on conditional statements","user":{"login":"sendjmoon","id":17794931,"avatar_url":"https://avatars.githubusercontent.com/u/17794931?v=3","gravatar_id":"","url":"https://api.github.com/users/sendjmoon","html_url":"https://github.com/sendjmoon","followers_url":"https://api.github.com/users/sendjmoon/followers","following_url":"https://api.github.com/users/sendjmoon/following{/other_user}","gists_url":"https://api.github.com/users/sendjmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sendjmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendjmoon/subscriptions","organizations_url":"https://api.github.com/users/sendjmoon/orgs","repos_url":"https://api.github.com/users/sendjmoon/repos","events_url":"https://api.github.com/users/sendjmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sendjmoon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-13T04:39:54Z","updated_at":"2016-09-13T04:52:58Z","closed_at":"2016-09-13T04:52:58Z","merged_at":"2016-09-13T04:52:58Z","merge_commit_sha":"138f25dbd83ca35b8fe812f75cc3a35d8917c82a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/4/comments","statuses_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/statuses/642539a39cd1b07dd0d4e0f649c9cf51783aa6b3","head":{"label":"sendjmoon:auth-page","ref":"auth-page","sha":"642539a39cd1b07dd0d4e0f649c9cf51783aa6b3","user":{"login":"sendjmoon","id":17794931,"avatar_url":"https://avatars.githubusercontent.com/u/17794931?v=3","gravatar_id":"","url":"https://api.github.com/users/sendjmoon","html_url":"https://github.com/sendjmoon","followers_url":"https://api.github.com/users/sendjmoon/followers","following_url":"https://api.github.com/users/sendjmoon/following{/other_user}","gists_url":"https://api.github.com/users/sendjmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sendjmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendjmoon/subscriptions","organizations_url":"https://api.github.com/users/sendjmoon/orgs","repos_url":"https://api.github.com/users/sendjmoon/repos","events_url":"https://api.github.com/users/sendjmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sendjmoon/received_events","type":"User","site_admin":false},"repo":{"id":67650262,"name":"Ultimate-Pi","full_name":"sendjmoon/Ultimate-Pi","owner":{"login":"sendjmoon","id":17794931,"avatar_url":"https://avatars.githubusercontent.com/u/17794931?v=3","gravatar_id":"","url":"https://api.github.com/users/sendjmoon","html_url":"https://github.com/sendjmoon","followers_url":"https://api.github.com/users/sendjmoon/followers","following_url":"https://api.github.com/users/sendjmoon/following{/other_user}","gists_url":"https://api.github.com/users/sendjmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sendjmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendjmoon/subscriptions","organizations_url":"https://api.github.com/users/sendjmoon/orgs","repos_url":"https://api.github.com/users/sendjmoon/repos","events_url":"https://api.github.com/users/sendjmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sendjmoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sendjmoon/Ultimate-Pi","description":"A full-stack interface utilizing a Raspberry Pi to act as an infrared remote.","fork":false,"url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi","forks_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/forks","keys_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/teams","hooks_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/hooks","issue_events_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/events{/number}","events_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/events","assignees_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/assignees{/user}","branches_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/branches{/branch}","tags_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/tags","blobs_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/statuses/{sha}","languages_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/languages","stargazers_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/stargazers","contributors_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/contributors","subscribers_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/subscribers","subscription_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/subscription","commits_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/contents/{+path}","compare_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/merges","archive_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/downloads","issues_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues{/number}","pulls_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls{/number}","milestones_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/milestones{/number}","notifications_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/labels{/name}","releases_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/releases{/id}","deployments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/deployments","created_at":"2016-09-07T23:10:50Z","updated_at":"2016-09-08T20:04:26Z","pushed_at":"2016-09-13T04:52:58Z","git_url":"git://github.com/sendjmoon/Ultimate-Pi.git","ssh_url":"git@github.com:sendjmoon/Ultimate-Pi.git","clone_url":"https://github.com/sendjmoon/Ultimate-Pi.git","svn_url":"https://github.com/sendjmoon/Ultimate-Pi","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sendjmoon:master","ref":"master","sha":"fac2d60312617e163ef9dd0f15c24e14f39134e6","user":{"login":"sendjmoon","id":17794931,"avatar_url":"https://avatars.githubusercontent.com/u/17794931?v=3","gravatar_id":"","url":"https://api.github.com/users/sendjmoon","html_url":"https://github.com/sendjmoon","followers_url":"https://api.github.com/users/sendjmoon/followers","following_url":"https://api.github.com/users/sendjmoon/following{/other_user}","gists_url":"https://api.github.com/users/sendjmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sendjmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendjmoon/subscriptions","organizations_url":"https://api.github.com/users/sendjmoon/orgs","repos_url":"https://api.github.com/users/sendjmoon/repos","events_url":"https://api.github.com/users/sendjmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sendjmoon/received_events","type":"User","site_admin":false},"repo":{"id":67650262,"name":"Ultimate-Pi","full_name":"sendjmoon/Ultimate-Pi","owner":{"login":"sendjmoon","id":17794931,"avatar_url":"https://avatars.githubusercontent.com/u/17794931?v=3","gravatar_id":"","url":"https://api.github.com/users/sendjmoon","html_url":"https://github.com/sendjmoon","followers_url":"https://api.github.com/users/sendjmoon/followers","following_url":"https://api.github.com/users/sendjmoon/following{/other_user}","gists_url":"https://api.github.com/users/sendjmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/sendjmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendjmoon/subscriptions","organizations_url":"https://api.github.com/users/sendjmoon/orgs","repos_url":"https://api.github.com/users/sendjmoon/repos","events_url":"https://api.github.com/users/sendjmoon/events{/privacy}","received_events_url":"https://api.github.com/users/sendjmoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sendjmoon/Ultimate-Pi","description":"A full-stack interface utilizing a Raspberry Pi to act as an infrared remote.","fork":false,"url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi","forks_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/forks","keys_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/teams","hooks_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/hooks","issue_events_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/events{/number}","events_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/events","assignees_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/assignees{/user}","branches_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/branches{/branch}","tags_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/tags","blobs_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/statuses/{sha}","languages_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/languages","stargazers_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/stargazers","contributors_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/contributors","subscribers_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/subscribers","subscription_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/subscription","commits_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/contents/{+path}","compare_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/merges","archive_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/downloads","issues_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues{/number}","pulls_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls{/number}","milestones_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/milestones{/number}","notifications_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/labels{/name}","releases_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/releases{/id}","deployments_url":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/deployments","created_at":"2016-09-07T23:10:50Z","updated_at":"2016-09-08T20:04:26Z","pushed_at":"2016-09-13T04:52:58Z","git_url":"git://github.com/sendjmoon/Ultimate-Pi.git","ssh_url":"git@github.com:sendjmoon/Ultimate-Pi.git","clone_url":"https://github.com/sendjmoon/Ultimate-Pi.git","svn_url":"https://github.com/sendjmoon/Ultimate-Pi","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4"},"html":{"href":"https://github.com/sendjmoon/Ultimate-Pi/pull/4"},"issue":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/4"},"comments":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sendjmoon/Ultimate-Pi/statuses/642539a39cd1b07dd0d4e0f649c9cf51783aa6b3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dylanjsa90","id":19247483,"avatar_url":"https://avatars.githubusercontent.com/u/19247483?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanjsa90","html_url":"https://github.com/dylanjsa90","followers_url":"https://api.github.com/users/dylanjsa90/followers","following_url":"https://api.github.com/users/dylanjsa90/following{/other_user}","gists_url":"https://api.github.com/users/dylanjsa90/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanjsa90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanjsa90/subscriptions","organizations_url":"https://api.github.com/users/dylanjsa90/orgs","repos_url":"https://api.github.com/users/dylanjsa90/repos","events_url":"https://api.github.com/users/dylanjsa90/events{/privacy}","received_events_url":"https://api.github.com/users/dylanjsa90/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":13,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"dylanjsa90"}}