Skip to content

Commit

Permalink
docs: remove references to setUserName & setUserEmail (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
emeraldsanto authored Jul 9, 2020
1 parent a7e4bd3 commit 9b73e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/crashlytics/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ async function onSignIn(user) {
crashlytics().log('User signed in.');
await Promise.all([
crashlytics().setUserId(user.uid),
crashlytics().setUserName(user.username),
crashlytics().setUserEmail(user.email),
crashlytics().setAttribute('credits', String(user.credits)),
crashlytics().setAttributes({
role: 'admin',
followers: '13',
email: user.email,
username: user.username
}),
]);
}
Expand Down

0 comments on commit 9b73e0a

Please sign in to comment.