Skip to content

Commit c27273a

Browse files
committed
fix
1 parent 70dfeec commit c27273a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/channels/graphql_subscription_channel.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def unsubscribed
3636

3737
close_bitquery_connection
3838

39-
WebsocketConnectionManager.instance.remove_connection(@subscription_id) if @subscription_id
39+
WebSocketConnectionManager.instance.remove_connection(@subscription_id) if @subscription_id
4040
end
4141

4242
def subscribe(data)
@@ -112,7 +112,7 @@ def handle_subscription(data)
112112
variables
113113
)
114114

115-
WebsocketConnectionManager.instance.add_connection(
115+
WebSocketConnectionManager.instance.add_connection(
116116
@subscription_id,
117117
connection,
118118
@ws_client

app/controllers/websocket_subscriptions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class WebsocketSubscriptionsController < ApplicationController
1+
class WebSocketConnectionManager < ApplicationController
22
def token
33
token = StreamingTokenService.get
44
payload = StreamingTokenService.payload

0 commit comments

Comments
 (0)