File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
node/packages/websocket/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export abstract class BaseConnectionHandler {
3131 protected subscriptionIds = new Set < string > ( )
3232
3333 abstract onSubscribe ( subscriptionId : string , data ?: unknown ) : void
34- abstract onUnsubscribe ( subscriptionId : string ) : void
34+ abstract onUnsubscribe ( subscriptionId : string , data ?: unknown ) : void
3535 abstract onClose ( ) : void
3636
3737 constructor ( websocket : WebSocket , prometheus : Prometheus , logger : Logger ) {
@@ -92,7 +92,7 @@ export abstract class BaseConnectionHandler {
9292 this . onSubscribe ( payload . subscriptionId , payload . data )
9393 return
9494 case 'unsubscribe' :
95- this . onUnsubscribe ( payload . subscriptionId )
95+ this . onUnsubscribe ( payload . subscriptionId , payload . data )
9696 return
9797 }
9898 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments