Skip to content

Commit

Permalink
fix: Correct wrong name of authenticationInfo variable. (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
gazialankus authored Oct 16, 2024
1 parent 539a313 commit 1a5720b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/06-concepts/15-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ In most cases, it's easiest to subscribe to a message channel in the `streamOpen
@override
Future<void> streamOpened(StreamingSession session) async {
final authenticationInfo = await session.authenticated;
final userId = userAuthenticatedInfo?.userId;
final userId = authenticationInfo?.userId;
session.messages.addListener(
'user_$userId',
(message) {
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.0.0/05-concepts/14-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ In most cases, it's easiest to subscribe to a message channel in the `streamOpen
@override
Future<void> streamOpened(StreamingSession session) async {
final authenticationInfo = await session.authenticated;
final userId = userAuthenticatedInfo?.userId;
final userId = authenticationInfo?.userId;
session.messages.addListener(
'user_$userId',
(message) {
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.1.0/06-concepts/15-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ In most cases, it's easiest to subscribe to a message channel in the `streamOpen
@override
Future<void> streamOpened(StreamingSession session) async {
final authenticationInfo = await session.authenticated;
final userId = userAuthenticatedInfo?.userId;
final userId = authenticationInfo?.userId;
session.messages.addListener(
'user_$userId',
(message) {
Expand Down

0 comments on commit 1a5720b

Please sign in to comment.