Skip to content

Commit a66e9f6

Browse files
committed
format code
1 parent e2e551c commit a66e9f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/realtime_client/lib/src/realtime_channel.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,7 @@ class RealtimeChannel {
491491
if (!canPush && type == RealtimeListenTypes.broadcast) {
492492
final headers = <String, String>{
493493
'Content-Type': 'application/json',
494-
if (socket.params['apikey'] != null)
495-
'apikey': socket.params['apikey']!,
494+
if (socket.params['apikey'] != null) 'apikey': socket.params['apikey']!,
496495
...socket.headers,
497496
if (socket.accessToken != null)
498497
'Authorization': 'Bearer ${socket.accessToken}',

0 commit comments

Comments
 (0)