We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1097cf commit 352cc87Copy full SHA for 352cc87
src/__demos__/json-crdt-server/services/blocks/store/level/LevelStore.ts
@@ -187,7 +187,7 @@ export class LevelStore implements types.Store {
187
const {encoder, decoder} = codec;
188
const key = this.startKey(id);
189
await this.mutex.acquire(id + '.trunc', async () => {
190
- const start = decoder.decode(await kv.get(key) as any) as types.StoreSnapshot;
+ const start = decoder.decode((await kv.get(key)) as any) as types.StoreSnapshot;
191
if (start.seq >= to) return;
192
const gt = this.batchKey(id, start.seq);
193
const lte = this.batchKey(id, to);
0 commit comments