client: fix build error

This commit is contained in:
Koushik Dutta
2022-06-27 00:18:35 -07:00
parent 7ab3423dc5
commit 9eef88da79

View File

@@ -310,7 +310,8 @@ export async function connectScryptedClient(options: ScryptedClientOptions): Pro
userStorage,
disconnect() {
socket.close();
}
},
pluginHostAPI: undefined,
}
socket.on('close', () => ret.onClose?.());