Skip to content

Commit 7749b98

Browse files
committed
fix: use correct join payload
1 parent ec5d47e commit 7749b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/realtime_client/lib/src/realtime_client.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ class RealtimeClient {
353353

354354
for (final channel in channels) {
355355
if (token != null) {
356-
channel.updateJoinPayload({'user_token': token});
356+
channel.updateJoinPayload({'access_token': token});
357357
}
358358
if (channel.joinedOnce && channel.isJoined) {
359359
channel.push(ChannelEvents.accessToken, {'access_token': token});

0 commit comments

Comments
 (0)