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 e6526e0 commit 435fd7cCopy full SHA for 435fd7c
packages/realtime_client/lib/src/realtime_channel.dart
@@ -491,7 +491,8 @@ class RealtimeChannel {
491
if (!canPush && type == RealtimeListenTypes.broadcast) {
492
final headers = <String, String>{
493
'Content-Type': 'application/json',
494
- 'apikey': socket.params['apikey'] ?? '',
+ if (socket.params['apikey'] != null)
495
+ 'apikey': socket.params['apikey']!,
496
...socket.headers,
497
'Authorization':
498
socket.accessToken != null ? 'Bearer ${socket.accessToken}' : '',
0 commit comments