{"action":"opened","number":1534,"pull_request":{"url":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534","id":252300527,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUyMzAwNTI3","html_url":"https://github.com/firebase/firebase-js-sdk/pull/1534","diff_url":"https://github.com/firebase/firebase-js-sdk/pull/1534.diff","patch_url":"https://github.com/firebase/firebase-js-sdk/pull/1534.patch","issue_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/1534","number":1534,"state":"open","locked":false,"title":"Values of updateProfile method can be not passed (optional)","user":{"login":"paulimfavarato","id":1192776,"node_id":"MDQ6VXNlcjExOTI3NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1192776?v=4","gravatar_id":"","url":"https://api.github.com/users/paulimfavarato","html_url":"https://github.com/paulimfavarato","followers_url":"https://api.github.com/users/paulimfavarato/followers","following_url":"https://api.github.com/users/paulimfavarato/following{/other_user}","gists_url":"https://api.github.com/users/paulimfavarato/gists{/gist_id}","starred_url":"https://api.github.com/users/paulimfavarato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulimfavarato/subscriptions","organizations_url":"https://api.github.com/users/paulimfavarato/orgs","repos_url":"https://api.github.com/users/paulimfavarato/repos","events_url":"https://api.github.com/users/paulimfavarato/events{/privacy}","received_events_url":"https://api.github.com/users/paulimfavarato/received_events","type":"User","site_admin":false},"body":"According the Firebase Documentation of [https://firebase.google.com/docs/reference/js/firebase.User.html#updateProfile](updateProfile) method, you won't change the current attribute's value if you're not passing a property.\r\n\r\n```\r\n// Passing a null value will delete the current attribute's value, but not\r\n// passing a property won't change the current attribute's value:\r\n// Let's say we're using the same user than before, after the update.\r\nuser.updateProfile({photoURL: null}).then(function() {\r\n  // Profile updated successfully!\r\n  // \"Jane Q. User\", hasn't changed.\r\n  var displayName = user.displayName;\r\n  // Now, this is null.\r\n  var photoURL = user.photoURL;\r\n}, function(error) {\r\n  // An error happened.\r\n});\r\n```","created_at":"2019-02-12T12:43:00Z","updated_at":"2019-02-12T12:43:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"bojeil-google","id":13474811,"node_id":"MDQ6VXNlcjEzNDc0ODEx","avatar_url":"https://avatars1.githubusercontent.com/u/13474811?v=4","gravatar_id":"","url":"https://api.github.com/users/bojeil-google","html_url":"https://github.com/bojeil-google","followers_url":"https://api.github.com/users/bojeil-google/followers","following_url":"https://api.github.com/users/bojeil-google/following{/other_user}","gists_url":"https://api.github.com/users/bojeil-google/gists{/gist_id}","starred_url":"https://api.github.com/users/bojeil-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojeil-google/subscriptions","organizations_url":"https://api.github.com/users/bojeil-google/orgs","repos_url":"https://api.github.com/users/bojeil-google/repos","events_url":"https://api.github.com/users/bojeil-google/events{/privacy}","received_events_url":"https://api.github.com/users/bojeil-google/received_events","type":"User","site_admin":false},{"login":"wti806","id":32399754,"node_id":"MDQ6VXNlcjMyMzk5NzU0","avatar_url":"https://avatars3.githubusercontent.com/u/32399754?v=4","gravatar_id":"","url":"https://api.github.com/users/wti806","html_url":"https://github.com/wti806","followers_url":"https://api.github.com/users/wti806/followers","following_url":"https://api.github.com/users/wti806/following{/other_user}","gists_url":"https://api.github.com/users/wti806/gists{/gist_id}","starred_url":"https://api.github.com/users/wti806/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wti806/subscriptions","organizations_url":"https://api.github.com/users/wti806/orgs","repos_url":"https://api.github.com/users/wti806/repos","events_url":"https://api.github.com/users/wti806/events{/privacy}","received_events_url":"https://api.github.com/users/wti806/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534/commits","review_comments_url":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534/comments","review_comment_url":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/1534/comments","statuses_url":"https://api.github.com/repos/firebase/firebase-js-sdk/statuses/077f198777501814508ea06d901fe3fb931a81fe","head":{"label":"paulimfavarato:auth-types-fix","ref":"auth-types-fix","sha":"077f198777501814508ea06d901fe3fb931a81fe","user":{"login":"paulimfavarato","id":1192776,"node_id":"MDQ6VXNlcjExOTI3NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1192776?v=4","gravatar_id":"","url":"https://api.github.com/users/paulimfavarato","html_url":"https://github.com/paulimfavarato","followers_url":"https://api.github.com/users/paulimfavarato/followers","following_url":"https://api.github.com/users/paulimfavarato/following{/other_user}","gists_url":"https://api.github.com/users/paulimfavarato/gists{/gist_id}","starred_url":"https://api.github.com/users/paulimfavarato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulimfavarato/subscriptions","organizations_url":"https://api.github.com/users/paulimfavarato/orgs","repos_url":"https://api.github.com/users/paulimfavarato/repos","events_url":"https://api.github.com/users/paulimfavarato/events{/privacy}","received_events_url":"https://api.github.com/users/paulimfavarato/received_events","type":"User","site_admin":false},"repo":{"id":170313516,"node_id":"MDEwOlJlcG9zaXRvcnkxNzAzMTM1MTY=","name":"firebase-js-sdk","full_name":"paulimfavarato/firebase-js-sdk","private":false,"owner":{"login":"paulimfavarato","id":1192776,"node_id":"MDQ6VXNlcjExOTI3NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1192776?v=4","gravatar_id":"","url":"https://api.github.com/users/paulimfavarato","html_url":"https://github.com/paulimfavarato","followers_url":"https://api.github.com/users/paulimfavarato/followers","following_url":"https://api.github.com/users/paulimfavarato/following{/other_user}","gists_url":"https://api.github.com/users/paulimfavarato/gists{/gist_id}","starred_url":"https://api.github.com/users/paulimfavarato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulimfavarato/subscriptions","organizations_url":"https://api.github.com/users/paulimfavarato/orgs","repos_url":"https://api.github.com/users/paulimfavarato/repos","events_url":"https://api.github.com/users/paulimfavarato/events{/privacy}","received_events_url":"https://api.github.com/users/paulimfavarato/received_events","type":"User","site_admin":false},"html_url":"https://github.com/paulimfavarato/firebase-js-sdk","description":"Firebase Javascript SDK","fork":true,"url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk","forks_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/forks","keys_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/teams","hooks_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/events","assignees_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/tags","blobs_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/languages","stargazers_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/subscription","commits_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/merges","archive_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/downloads","issues_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/paulimfavarato/firebase-js-sdk/deployments","created_at":"2019-02-12T12:22:38Z","updated_at":"2019-02-12T12:22:44Z","pushed_at":"2019-02-12T12:35:54Z","git_url":"git://github.com/paulimfavarato/firebase-js-sdk.git","ssh_url":"git@github.com:paulimfavarato/firebase-js-sdk.git","clone_url":"https://github.com/paulimfavarato/firebase-js-sdk.git","svn_url":"https://github.com/paulimfavarato/firebase-js-sdk","homepage":"https://firebase.google.com/docs/web/setup","size":17549,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"firebase:master","ref":"master","sha":"10bf7c18eb79eb62e716ffe47951b77165c4c61f","user":{"login":"firebase","id":1335026,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzUwMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1335026?v=4","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"repo":{"id":89290483,"node_id":"MDEwOlJlcG9zaXRvcnk4OTI5MDQ4Mw==","name":"firebase-js-sdk","full_name":"firebase/firebase-js-sdk","private":false,"owner":{"login":"firebase","id":1335026,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMzUwMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1335026?v=4","gravatar_id":"","url":"https://api.github.com/users/firebase","html_url":"https://github.com/firebase","followers_url":"https://api.github.com/users/firebase/followers","following_url":"https://api.github.com/users/firebase/following{/other_user}","gists_url":"https://api.github.com/users/firebase/gists{/gist_id}","starred_url":"https://api.github.com/users/firebase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firebase/subscriptions","organizations_url":"https://api.github.com/users/firebase/orgs","repos_url":"https://api.github.com/users/firebase/repos","events_url":"https://api.github.com/users/firebase/events{/privacy}","received_events_url":"https://api.github.com/users/firebase/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/firebase/firebase-js-sdk","description":"Firebase Javascript SDK","fork":false,"url":"https://api.github.com/repos/firebase/firebase-js-sdk","forks_url":"https://api.github.com/repos/firebase/firebase-js-sdk/forks","keys_url":"https://api.github.com/repos/firebase/firebase-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firebase/firebase-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firebase/firebase-js-sdk/teams","hooks_url":"https://api.github.com/repos/firebase/firebase-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/firebase/firebase-js-sdk/events","assignees_url":"https://api.github.com/repos/firebase/firebase-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/firebase/firebase-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/firebase/firebase-js-sdk/tags","blobs_url":"https://api.github.com/repos/firebase/firebase-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firebase/firebase-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firebase/firebase-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/firebase/firebase-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firebase/firebase-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/firebase/firebase-js-sdk/languages","stargazers_url":"https://api.github.com/repos/firebase/firebase-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/firebase/firebase-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/firebase/firebase-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/firebase/firebase-js-sdk/subscription","commits_url":"https://api.github.com/repos/firebase/firebase-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/firebase/firebase-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/firebase/firebase-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/firebase/firebase-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/firebase/firebase-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firebase/firebase-js-sdk/merges","archive_url":"https://api.github.com/repos/firebase/firebase-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firebase/firebase-js-sdk/downloads","issues_url":"https://api.github.com/repos/firebase/firebase-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/firebase/firebase-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/firebase/firebase-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firebase/firebase-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/firebase/firebase-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/firebase/firebase-js-sdk/deployments","created_at":"2017-04-24T21:52:11Z","updated_at":"2019-02-11T17:24:47Z","pushed_at":"2019-02-12T12:43:00Z","git_url":"git://github.com/firebase/firebase-js-sdk.git","ssh_url":"git@github.com:firebase/firebase-js-sdk.git","clone_url":"https://github.com/firebase/firebase-js-sdk.git","svn_url":"https://github.com/firebase/firebase-js-sdk","homepage":"https://firebase.google.com/docs/web/setup","size":17549,"stargazers_count":1774,"watchers_count":1774,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":266,"mirror_url":null,"archived":false,"open_issues_count":182,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":266,"open_issues":182,"watchers":1774,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534"},"html":{"href":"https://github.com/firebase/firebase-js-sdk/pull/1534"},"issue":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/1534"},"comments":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/issues/1534/comments"},"review_comments":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534/comments"},"review_comment":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/pulls/1534/commits"},"statuses":{"href":"https://api.github.com/repos/firebase/firebase-js-sdk/statuses/077f198777501814508ea06d901fe3fb931a81fe"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"paulimfavarato"}}