Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
dshukertjr committed Jul 12, 2024
1 parent e2e551c commit a66e9f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/realtime_client/lib/src/realtime_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,7 @@ class RealtimeChannel {
if (!canPush && type == RealtimeListenTypes.broadcast) {
final headers = <String, String>{
'Content-Type': 'application/json',
if (socket.params['apikey'] != null)
'apikey': socket.params['apikey']!,
if (socket.params['apikey'] != null) 'apikey': socket.params['apikey']!,
...socket.headers,
if (socket.accessToken != null)
'Authorization': 'Bearer ${socket.accessToken}',
Expand Down

0 comments on commit a66e9f6

Please sign in to comment.