Skip to content

Commit f596d43

Browse files
committed
fix: Update type for customAccessToken
1 parent f0963ea commit f596d43

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
@@ -91,7 +91,7 @@ class RealtimeClient {
9191
int longpollerTimeout = 20000;
9292
SocketStates? connState;
9393
// This is called `accessToken` in realtime-js
94-
Future<String> Function()? customAccessToken;
94+
Future<String?> Function()? customAccessToken;
9595

9696
/// Initializes the Socket
9797
///

0 commit comments

Comments
 (0)