{"action":"closed","number":2040,"pull_request":{"url":"https://api.github.com/repos/realm/realm-js/pulls/2040","id":217588307,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTg4MzA3","html_url":"https://github.com/realm/realm-js/pull/2040","diff_url":"https://github.com/realm/realm-js/pull/2040.diff","patch_url":"https://github.com/realm/realm-js/pull/2040.patch","issue_url":"https://api.github.com/repos/realm/realm-js/issues/2040","number":2040,"state":"closed","locked":false,"title":"Logging in using an admin token should be synchronous","user":{"login":"kneth","id":1225363,"node_id":"MDQ6VXNlcjEyMjUzNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1225363?v=4","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"body":"By mistake, #2038 let logging in an admin user to be asynchronous. This PR corrects this.","created_at":"2018-09-24T08:47:06Z","updated_at":"2018-09-24T10:43:45Z","closed_at":"2018-09-24T10:43:45Z","merged_at":"2018-09-24T10:43:45Z","merge_commit_sha":"be98a77fcf09f43d4faa68cacf24c784a8a87601","assignee":{"login":"kneth","id":1225363,"node_id":"MDQ6VXNlcjEyMjUzNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1225363?v=4","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"assignees":[{"login":"kneth","id":1225363,"node_id":"MDQ6VXNlcjEyMjUzNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1225363?v=4","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":247475509,"node_id":"MDU6TGFiZWwyNDc0NzU1MDk=","url":"https://api.github.com/repos/realm/realm-js/labels/T:Bug","name":"T:Bug","color":"eb6420","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/realm/realm-js/pulls/2040/commits","review_comments_url":"https://api.github.com/repos/realm/realm-js/pulls/2040/comments","review_comment_url":"https://api.github.com/repos/realm/realm-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/realm/realm-js/issues/2040/comments","statuses_url":"https://api.github.com/repos/realm/realm-js/statuses/c554545b922ba13be05a7227e6656dfedc93188e","head":{"label":"realm:kneth/better-test-for-admin-token","ref":"kneth/better-test-for-admin-token","sha":"c554545b922ba13be05a7227e6656dfedc93188e","user":{"login":"realm","id":7575099,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NzUwOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":40667593,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY2NzU5Mw==","name":"realm-js","full_name":"realm/realm-js","private":false,"owner":{"login":"realm","id":7575099,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NzUwOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/realm/realm-js","description":" Realm is a mobile database: an alternative to SQLite & key-value stores","fork":false,"url":"https://api.github.com/repos/realm/realm-js","forks_url":"https://api.github.com/repos/realm/realm-js/forks","keys_url":"https://api.github.com/repos/realm/realm-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/realm-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/realm-js/teams","hooks_url":"https://api.github.com/repos/realm/realm-js/hooks","issue_events_url":"https://api.github.com/repos/realm/realm-js/issues/events{/number}","events_url":"https://api.github.com/repos/realm/realm-js/events","assignees_url":"https://api.github.com/repos/realm/realm-js/assignees{/user}","branches_url":"https://api.github.com/repos/realm/realm-js/branches{/branch}","tags_url":"https://api.github.com/repos/realm/realm-js/tags","blobs_url":"https://api.github.com/repos/realm/realm-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/realm-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/realm-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/realm-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/realm-js/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/realm-js/languages","stargazers_url":"https://api.github.com/repos/realm/realm-js/stargazers","contributors_url":"https://api.github.com/repos/realm/realm-js/contributors","subscribers_url":"https://api.github.com/repos/realm/realm-js/subscribers","subscription_url":"https://api.github.com/repos/realm/realm-js/subscription","commits_url":"https://api.github.com/repos/realm/realm-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/realm-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/realm-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/realm-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/realm-js/contents/{+path}","compare_url":"https://api.github.com/repos/realm/realm-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/realm-js/merges","archive_url":"https://api.github.com/repos/realm/realm-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/realm-js/downloads","issues_url":"https://api.github.com/repos/realm/realm-js/issues{/number}","pulls_url":"https://api.github.com/repos/realm/realm-js/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/realm-js/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/realm-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/realm-js/labels{/name}","releases_url":"https://api.github.com/repos/realm/realm-js/releases{/id}","deployments_url":"https://api.github.com/repos/realm/realm-js/deployments","created_at":"2015-08-13T15:51:36Z","updated_at":"2018-09-24T08:10:30Z","pushed_at":"2018-09-24T10:43:45Z","git_url":"git://github.com/realm/realm-js.git","ssh_url":"git@github.com:realm/realm-js.git","clone_url":"https://github.com/realm/realm-js.git","svn_url":"https://github.com/realm/realm-js","homepage":"https://realm.io","size":7446,"stargazers_count":3133,"watchers_count":3133,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":268,"mirror_url":null,"archived":false,"open_issues_count":310,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":268,"open_issues":310,"watchers":3133,"default_branch":"master"}},"base":{"label":"realm:master","ref":"master","sha":"6e15b2ed8e57377add3e9327477710014e7e4a0f","user":{"login":"realm","id":7575099,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NzUwOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"repo":{"id":40667593,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY2NzU5Mw==","name":"realm-js","full_name":"realm/realm-js","private":false,"owner":{"login":"realm","id":7575099,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NzUwOTk=","avatar_url":"https://avatars0.githubusercontent.com/u/7575099?v=4","gravatar_id":"","url":"https://api.github.com/users/realm","html_url":"https://github.com/realm","followers_url":"https://api.github.com/users/realm/followers","following_url":"https://api.github.com/users/realm/following{/other_user}","gists_url":"https://api.github.com/users/realm/gists{/gist_id}","starred_url":"https://api.github.com/users/realm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realm/subscriptions","organizations_url":"https://api.github.com/users/realm/orgs","repos_url":"https://api.github.com/users/realm/repos","events_url":"https://api.github.com/users/realm/events{/privacy}","received_events_url":"https://api.github.com/users/realm/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/realm/realm-js","description":" Realm is a mobile database: an alternative to SQLite & key-value stores","fork":false,"url":"https://api.github.com/repos/realm/realm-js","forks_url":"https://api.github.com/repos/realm/realm-js/forks","keys_url":"https://api.github.com/repos/realm/realm-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realm/realm-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realm/realm-js/teams","hooks_url":"https://api.github.com/repos/realm/realm-js/hooks","issue_events_url":"https://api.github.com/repos/realm/realm-js/issues/events{/number}","events_url":"https://api.github.com/repos/realm/realm-js/events","assignees_url":"https://api.github.com/repos/realm/realm-js/assignees{/user}","branches_url":"https://api.github.com/repos/realm/realm-js/branches{/branch}","tags_url":"https://api.github.com/repos/realm/realm-js/tags","blobs_url":"https://api.github.com/repos/realm/realm-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realm/realm-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realm/realm-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/realm/realm-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realm/realm-js/statuses/{sha}","languages_url":"https://api.github.com/repos/realm/realm-js/languages","stargazers_url":"https://api.github.com/repos/realm/realm-js/stargazers","contributors_url":"https://api.github.com/repos/realm/realm-js/contributors","subscribers_url":"https://api.github.com/repos/realm/realm-js/subscribers","subscription_url":"https://api.github.com/repos/realm/realm-js/subscription","commits_url":"https://api.github.com/repos/realm/realm-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/realm/realm-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/realm/realm-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/realm/realm-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/realm/realm-js/contents/{+path}","compare_url":"https://api.github.com/repos/realm/realm-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realm/realm-js/merges","archive_url":"https://api.github.com/repos/realm/realm-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realm/realm-js/downloads","issues_url":"https://api.github.com/repos/realm/realm-js/issues{/number}","pulls_url":"https://api.github.com/repos/realm/realm-js/pulls{/number}","milestones_url":"https://api.github.com/repos/realm/realm-js/milestones{/number}","notifications_url":"https://api.github.com/repos/realm/realm-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realm/realm-js/labels{/name}","releases_url":"https://api.github.com/repos/realm/realm-js/releases{/id}","deployments_url":"https://api.github.com/repos/realm/realm-js/deployments","created_at":"2015-08-13T15:51:36Z","updated_at":"2018-09-24T08:10:30Z","pushed_at":"2018-09-24T10:43:45Z","git_url":"git://github.com/realm/realm-js.git","ssh_url":"git@github.com:realm/realm-js.git","clone_url":"https://github.com/realm/realm-js.git","svn_url":"https://github.com/realm/realm-js","homepage":"https://realm.io","size":7446,"stargazers_count":3133,"watchers_count":3133,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":268,"mirror_url":null,"archived":false,"open_issues_count":310,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":268,"open_issues":310,"watchers":3133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/realm/realm-js/pulls/2040"},"html":{"href":"https://github.com/realm/realm-js/pull/2040"},"issue":{"href":"https://api.github.com/repos/realm/realm-js/issues/2040"},"comments":{"href":"https://api.github.com/repos/realm/realm-js/issues/2040/comments"},"review_comments":{"href":"https://api.github.com/repos/realm/realm-js/pulls/2040/comments"},"review_comment":{"href":"https://api.github.com/repos/realm/realm-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/realm/realm-js/pulls/2040/commits"},"statuses":{"href":"https://api.github.com/repos/realm/realm-js/statuses/c554545b922ba13be05a7227e6656dfedc93188e"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kneth","id":1225363,"node_id":"MDQ6VXNlcjEyMjUzNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1225363?v=4","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":8,"deletions":13,"changed_files":3}}
{"actor":{"display_login":"kneth"}}