Skip to content

Commit

Permalink
fix: Align docs with userId change in 2.0. (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isakdl authored Sep 9, 2024
1 parent 4e43b90 commit 62f5f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
It's a common task to read or update user information on your server. You can always retrieve the id of a signed-in user through the session object.

```dart
var userId = await session.auth.authenticatedUserId;
var userId = await session.authenticated.userId;
```

If you sign in users through the auth module, you will be able to retrieve more information through the static methods of the `Users` class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
It's a common task to read or update user information on your server. You can always retrieve the id of a signed-in user through the session object.

```dart
var userId = await session.auth.authenticatedUserId;
var userId = await session.authenticated.userId;
```

If you sign in users through the auth module, you will be able to retrieve more information through the static methods of the `Users` class.
Expand Down

0 comments on commit 62f5f27

Please sign in to comment.