Merge branch 'release/0.11.8-4'

This commit is contained in:
Book Pauk
2022-07-17 16:53:59 +07:00

View File

@@ -15,7 +15,8 @@ class RemoteStorage {
async wsQuery(query) {
const response = await this.wsc.message(
await this.wsc.send(Object.assign({accessToken: this.accessToken}, query))
await this.wsc.send(Object.assign({accessToken: this.accessToken}, query), 30),
300
);
if (response.error)
throw new Error(response.error);