Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-05-23 16:19:49 +06:00 committed by GitHub
parent e164e1c9af
commit 237ae709ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}