We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e551c commit a66e9f6Copy full SHA for a66e9f6
packages/realtime_client/lib/src/realtime_channel.dart
@@ -491,8 +491,7 @@ class RealtimeChannel {
491
if (!canPush && type == RealtimeListenTypes.broadcast) {
492
final headers = <String, String>{
493
'Content-Type': 'application/json',
494
- if (socket.params['apikey'] != null)
495
- 'apikey': socket.params['apikey']!,
+ if (socket.params['apikey'] != null) 'apikey': socket.params['apikey']!,
496
...socket.headers,
497
if (socket.accessToken != null)
498
'Authorization': 'Bearer ${socket.accessToken}',
0 commit comments