{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30","id":199921149,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTIxMTQ5","html_url":"https://github.com/shanzhaime/hue-explorer/pull/30","diff_url":"https://github.com/shanzhaime/hue-explorer/pull/30.diff","patch_url":"https://github.com/shanzhaime/hue-explorer/pull/30.patch","issue_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/30","number":30,"state":"closed","locked":false,"title":"Fixed dropping access token in first OAuth try","user":{"login":"CatChen","id":112175,"node_id":"MDQ6VXNlcjExMjE3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/112175?v=4","gravatar_id":"","url":"https://api.github.com/users/CatChen","html_url":"https://github.com/CatChen","followers_url":"https://api.github.com/users/CatChen/followers","following_url":"https://api.github.com/users/CatChen/following{/other_user}","gists_url":"https://api.github.com/users/CatChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CatChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatChen/subscriptions","organizations_url":"https://api.github.com/users/CatChen/orgs","repos_url":"https://api.github.com/users/CatChen/repos","events_url":"https://api.github.com/users/CatChen/events{/privacy}","received_events_url":"https://api.github.com/users/CatChen/received_events","type":"User","site_admin":false},"body":"Previously when setting up a new bridge through OAuth, the first time it remembers the bridge metadata but forgets the access token. Then a second OAuth can make it remembering the access token. The reason was I forgot to store access token with other metadata in this branch. Now I'm fixing this bug.","created_at":"2018-07-08T01:46:57Z","updated_at":"2018-07-08T09:08:05Z","closed_at":"2018-07-08T09:08:05Z","merged_at":"2018-07-08T09:08:05Z","merge_commit_sha":"f5046889ddddbd391de0a7f19cd1298681968926","assignee":{"login":"CatChen","id":112175,"node_id":"MDQ6VXNlcjExMjE3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/112175?v=4","gravatar_id":"","url":"https://api.github.com/users/CatChen","html_url":"https://github.com/CatChen","followers_url":"https://api.github.com/users/CatChen/followers","following_url":"https://api.github.com/users/CatChen/following{/other_user}","gists_url":"https://api.github.com/users/CatChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CatChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatChen/subscriptions","organizations_url":"https://api.github.com/users/CatChen/orgs","repos_url":"https://api.github.com/users/CatChen/repos","events_url":"https://api.github.com/users/CatChen/events{/privacy}","received_events_url":"https://api.github.com/users/CatChen/received_events","type":"User","site_admin":false},"assignees":[{"login":"CatChen","id":112175,"node_id":"MDQ6VXNlcjExMjE3NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/112175?v=4","gravatar_id":"","url":"https://api.github.com/users/CatChen","html_url":"https://github.com/CatChen","followers_url":"https://api.github.com/users/CatChen/followers","following_url":"https://api.github.com/users/CatChen/following{/other_user}","gists_url":"https://api.github.com/users/CatChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CatChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CatChen/subscriptions","organizations_url":"https://api.github.com/users/CatChen/orgs","repos_url":"https://api.github.com/users/CatChen/repos","events_url":"https://api.github.com/users/CatChen/events{/privacy}","received_events_url":"https://api.github.com/users/CatChen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30/commits","review_comments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30/comments","review_comment_url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/30/comments","statuses_url":"https://api.github.com/repos/shanzhaime/hue-explorer/statuses/d3ee0d6510ff7c61053b5c0b76d3dd57215f91d4","head":{"label":"shanzhaime:fix-oauth-new-bridge","ref":"fix-oauth-new-bridge","sha":"d3ee0d6510ff7c61053b5c0b76d3dd57215f91d4","user":{"login":"shanzhaime","id":39223570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MjIzNTcw","avatar_url":"https://avatars2.githubusercontent.com/u/39223570?v=4","gravatar_id":"","url":"https://api.github.com/users/shanzhaime","html_url":"https://github.com/shanzhaime","followers_url":"https://api.github.com/users/shanzhaime/followers","following_url":"https://api.github.com/users/shanzhaime/following{/other_user}","gists_url":"https://api.github.com/users/shanzhaime/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzhaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzhaime/subscriptions","organizations_url":"https://api.github.com/users/shanzhaime/orgs","repos_url":"https://api.github.com/users/shanzhaime/repos","events_url":"https://api.github.com/users/shanzhaime/events{/privacy}","received_events_url":"https://api.github.com/users/shanzhaime/received_events","type":"Organization","site_admin":false},"repo":{"id":133173670,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNzM2NzA=","name":"hue-explorer","full_name":"shanzhaime/hue-explorer","owner":{"login":"shanzhaime","id":39223570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MjIzNTcw","avatar_url":"https://avatars2.githubusercontent.com/u/39223570?v=4","gravatar_id":"","url":"https://api.github.com/users/shanzhaime","html_url":"https://github.com/shanzhaime","followers_url":"https://api.github.com/users/shanzhaime/followers","following_url":"https://api.github.com/users/shanzhaime/following{/other_user}","gists_url":"https://api.github.com/users/shanzhaime/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzhaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzhaime/subscriptions","organizations_url":"https://api.github.com/users/shanzhaime/orgs","repos_url":"https://api.github.com/users/shanzhaime/repos","events_url":"https://api.github.com/users/shanzhaime/events{/privacy}","received_events_url":"https://api.github.com/users/shanzhaime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shanzhaime/hue-explorer","description":null,"fork":false,"url":"https://api.github.com/repos/shanzhaime/hue-explorer","forks_url":"https://api.github.com/repos/shanzhaime/hue-explorer/forks","keys_url":"https://api.github.com/repos/shanzhaime/hue-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shanzhaime/hue-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shanzhaime/hue-explorer/teams","hooks_url":"https://api.github.com/repos/shanzhaime/hue-explorer/hooks","issue_events_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/shanzhaime/hue-explorer/events","assignees_url":"https://api.github.com/repos/shanzhaime/hue-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/shanzhaime/hue-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/shanzhaime/hue-explorer/tags","blobs_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shanzhaime/hue-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/shanzhaime/hue-explorer/languages","stargazers_url":"https://api.github.com/repos/shanzhaime/hue-explorer/stargazers","contributors_url":"https://api.github.com/repos/shanzhaime/hue-explorer/contributors","subscribers_url":"https://api.github.com/repos/shanzhaime/hue-explorer/subscribers","subscription_url":"https://api.github.com/repos/shanzhaime/hue-explorer/subscription","commits_url":"https://api.github.com/repos/shanzhaime/hue-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/shanzhaime/hue-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/shanzhaime/hue-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shanzhaime/hue-explorer/merges","archive_url":"https://api.github.com/repos/shanzhaime/hue-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shanzhaime/hue-explorer/downloads","issues_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/shanzhaime/hue-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/shanzhaime/hue-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shanzhaime/hue-explorer/labels{/name}","releases_url":"https://api.github.com/repos/shanzhaime/hue-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/deployments","created_at":"2018-05-12T18:35:29Z","updated_at":"2018-07-08T09:07:51Z","pushed_at":"2018-07-08T09:08:05Z","git_url":"git://github.com/shanzhaime/hue-explorer.git","ssh_url":"git@github.com:shanzhaime/hue-explorer.git","clone_url":"https://github.com/shanzhaime/hue-explorer.git","svn_url":"https://github.com/shanzhaime/hue-explorer","homepage":null,"size":395,"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":1,"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":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"shanzhaime:master","ref":"master","sha":"cecfd569e667be191f11bcd53c7e8bd39e8a3c2b","user":{"login":"shanzhaime","id":39223570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MjIzNTcw","avatar_url":"https://avatars2.githubusercontent.com/u/39223570?v=4","gravatar_id":"","url":"https://api.github.com/users/shanzhaime","html_url":"https://github.com/shanzhaime","followers_url":"https://api.github.com/users/shanzhaime/followers","following_url":"https://api.github.com/users/shanzhaime/following{/other_user}","gists_url":"https://api.github.com/users/shanzhaime/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzhaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzhaime/subscriptions","organizations_url":"https://api.github.com/users/shanzhaime/orgs","repos_url":"https://api.github.com/users/shanzhaime/repos","events_url":"https://api.github.com/users/shanzhaime/events{/privacy}","received_events_url":"https://api.github.com/users/shanzhaime/received_events","type":"Organization","site_admin":false},"repo":{"id":133173670,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxNzM2NzA=","name":"hue-explorer","full_name":"shanzhaime/hue-explorer","owner":{"login":"shanzhaime","id":39223570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MjIzNTcw","avatar_url":"https://avatars2.githubusercontent.com/u/39223570?v=4","gravatar_id":"","url":"https://api.github.com/users/shanzhaime","html_url":"https://github.com/shanzhaime","followers_url":"https://api.github.com/users/shanzhaime/followers","following_url":"https://api.github.com/users/shanzhaime/following{/other_user}","gists_url":"https://api.github.com/users/shanzhaime/gists{/gist_id}","starred_url":"https://api.github.com/users/shanzhaime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanzhaime/subscriptions","organizations_url":"https://api.github.com/users/shanzhaime/orgs","repos_url":"https://api.github.com/users/shanzhaime/repos","events_url":"https://api.github.com/users/shanzhaime/events{/privacy}","received_events_url":"https://api.github.com/users/shanzhaime/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shanzhaime/hue-explorer","description":null,"fork":false,"url":"https://api.github.com/repos/shanzhaime/hue-explorer","forks_url":"https://api.github.com/repos/shanzhaime/hue-explorer/forks","keys_url":"https://api.github.com/repos/shanzhaime/hue-explorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shanzhaime/hue-explorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shanzhaime/hue-explorer/teams","hooks_url":"https://api.github.com/repos/shanzhaime/hue-explorer/hooks","issue_events_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/events{/number}","events_url":"https://api.github.com/repos/shanzhaime/hue-explorer/events","assignees_url":"https://api.github.com/repos/shanzhaime/hue-explorer/assignees{/user}","branches_url":"https://api.github.com/repos/shanzhaime/hue-explorer/branches{/branch}","tags_url":"https://api.github.com/repos/shanzhaime/hue-explorer/tags","blobs_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shanzhaime/hue-explorer/statuses/{sha}","languages_url":"https://api.github.com/repos/shanzhaime/hue-explorer/languages","stargazers_url":"https://api.github.com/repos/shanzhaime/hue-explorer/stargazers","contributors_url":"https://api.github.com/repos/shanzhaime/hue-explorer/contributors","subscribers_url":"https://api.github.com/repos/shanzhaime/hue-explorer/subscribers","subscription_url":"https://api.github.com/repos/shanzhaime/hue-explorer/subscription","commits_url":"https://api.github.com/repos/shanzhaime/hue-explorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/shanzhaime/hue-explorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/shanzhaime/hue-explorer/contents/{+path}","compare_url":"https://api.github.com/repos/shanzhaime/hue-explorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shanzhaime/hue-explorer/merges","archive_url":"https://api.github.com/repos/shanzhaime/hue-explorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shanzhaime/hue-explorer/downloads","issues_url":"https://api.github.com/repos/shanzhaime/hue-explorer/issues{/number}","pulls_url":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls{/number}","milestones_url":"https://api.github.com/repos/shanzhaime/hue-explorer/milestones{/number}","notifications_url":"https://api.github.com/repos/shanzhaime/hue-explorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shanzhaime/hue-explorer/labels{/name}","releases_url":"https://api.github.com/repos/shanzhaime/hue-explorer/releases{/id}","deployments_url":"https://api.github.com/repos/shanzhaime/hue-explorer/deployments","created_at":"2018-05-12T18:35:29Z","updated_at":"2018-07-08T09:07:51Z","pushed_at":"2018-07-08T09:08:05Z","git_url":"git://github.com/shanzhaime/hue-explorer.git","ssh_url":"git@github.com:shanzhaime/hue-explorer.git","clone_url":"https://github.com/shanzhaime/hue-explorer.git","svn_url":"https://github.com/shanzhaime/hue-explorer","homepage":null,"size":395,"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":1,"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":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30"},"html":{"href":"https://github.com/shanzhaime/hue-explorer/pull/30"},"issue":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/30"},"comments":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/shanzhaime/hue-explorer/statuses/d3ee0d6510ff7c61053b5c0b76d3dd57215f91d4"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"shihangw","id":3301683,"node_id":"MDQ6VXNlcjMzMDE2ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/3301683?v=4","gravatar_id":"","url":"https://api.github.com/users/shihangw","html_url":"https://github.com/shihangw","followers_url":"https://api.github.com/users/shihangw/followers","following_url":"https://api.github.com/users/shihangw/following{/other_user}","gists_url":"https://api.github.com/users/shihangw/gists{/gist_id}","starred_url":"https://api.github.com/users/shihangw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shihangw/subscriptions","organizations_url":"https://api.github.com/users/shihangw/orgs","repos_url":"https://api.github.com/users/shihangw/repos","events_url":"https://api.github.com/users/shihangw/events{/privacy}","received_events_url":"https://api.github.com/users/shihangw/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"shihangw"}}