diff --git a/packages/@orbit/memory/src/memory-source.ts b/packages/@orbit/memory/src/memory-source.ts index 4da2073b6..c5eddc6c6 100644 --- a/packages/@orbit/memory/src/memory-source.ts +++ b/packages/@orbit/memory/src/memory-source.ts @@ -292,7 +292,7 @@ export class MemorySource extends RecordSource { localTransforms.reverse().forEach((transform) => { const inverseOperations = this._transformInverses[transform.id]; if (inverseOperations) { - this.cache.patch(inverseOperations); + this.cache.update(inverseOperations); } this._clearTransformFromHistory(transform.id); }); @@ -412,7 +412,7 @@ export class MemorySource extends RecordSource { removed.reverse().forEach((id) => { const inverseOperations = this._transformInverses[id]; if (inverseOperations) { - this.cache.patch(inverseOperations); + this.cache.update(inverseOperations); } this._clearTransformFromHistory(id); });