Skip to content

Commit 6f73173

Browse files
committed
chore: reuse existing vars
1 parent 441b251 commit 6f73173

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/y-socket-io/y-socket-io.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,7 @@ export class YSocketIO {
157157
this.initAwarenessListeners(socket)
158158
this.initSocketListeners(socket)
159159

160-
await this.client.checkAndRecoveryWorkerStream(
161-
this.getNamespaceString(socket.nsp),
162-
'index'
163-
)
160+
await this.client.checkAndRecoveryWorkerStream(namespace, 'index')
164161
const doc = await this.client.getDoc(namespace, 'index')
165162

166163
if (

0 commit comments

Comments
 (0)