Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 30, 2024. It is now read-only.

Commit 592b652

Browse files
committed
Review comments
1 parent 7c98b9e commit 592b652

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

admin/src/main/java/com/google/firebase/example/FirebaseAuthSnippets.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class FirebaseAuthSnippets {
2727
public void getUserByFederatedId() throws Exception {
2828
// [START get_user_by_federated_id]
2929
UserRecord user = FirebaseAuth.getInstance().getUserByFederatedIdAsync("google.com", "google_uid1234").get();
30-
System.out.println("Successfully fetched user data: " + user);
30+
System.out.println("Successfully fetched user data: " + user.getUid());
3131
// [END get_user_by_federated_id]
3232
}
3333

@@ -43,7 +43,7 @@ public void updateUserLinkFederated() throws Exception {
4343
.build());
4444

4545
UserRecord user = FirebaseAuth.getInstance().updateUserAsync(update).get();
46-
System.out.println("Successfully updated data: " + user);
46+
System.out.println("Successfully updated data: " + user.getUid());
4747
// [END update_user_link_federated]
4848
}
4949

@@ -58,7 +58,7 @@ public void updateUserUnlinkFederated() throws Exception {
5858
.setDeleteProviders(providers);
5959

6060
UserRecord user = FirebaseAuth.getInstance().updateUserAsync(update).get();
61-
System.out.println("Successfully updated data: " + user);
61+
System.out.println("Successfully updated data: " + user.getUid());
6262
// [END update_user_unlink_federated]
6363
}
6464
}

0 commit comments

Comments
 (0)