diff --git a/src/matrix/storage/idb/Store.ts b/src/matrix/storage/idb/Store.ts index 20e6f79a..c9df33b2 100644 --- a/src/matrix/storage/idb/Store.ts +++ b/src/matrix/storage/idb/Store.ts @@ -120,7 +120,7 @@ export class QueryTargetWrapper { count(keyRange?: IDBKeyRange): IDBRequest { try { - return this._qtStore.count(keyRange); + return this._qt.count(keyRange); } catch(err) { throw new IDBRequestAttemptError("count", this._qt, err, [keyRange]); }