From 237ae709ac8e0373b9cd65d7f1135731f6189ed7 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Tue, 23 May 2023 16:19:49 +0600 Subject: [PATCH] Query fix (#3238) Signed-off-by: Denis Bykhov --- packages/query/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/query/src/index.ts b/packages/query/src/index.ts index 23c6f73856..72dac92b16 100644 --- a/packages/query/src/index.ts +++ b/packages/query/src/index.ts @@ -239,7 +239,7 @@ export class LiveQuery extends TxProcessor implements Client { if (q.result instanceof Promise) { q.result = await q.result } - callback.callback(q.result) + callback.callback(toFindResult(this.clone(q.result), q.total)) } }, 0) }