Skip to content

Commit c04aa08

Browse files
authored
Merge pull request #140 from defint/bugfix/auth-options-to-map
Fix auth options
2 parents 54a7a33 + 60e23c5 commit c04aa08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pusher-js/core/auth/options.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ extension AuthorizerOptionsExt on AuthorizerOptions {
8484
Map<String, dynamic> toMap() => {
8585
'authTransport': authTransport,
8686
'authEndpoint': authEndpoint,
87-
'auth': auth,
87+
'auth': auth?.toMap(),
8888
};
8989
}

0 commit comments

Comments
 (0)