From 9de406d44b3d5f9b8f9a177474cc80883452f558 Mon Sep 17 00:00:00 2001 From: HerbCaudill Date: Fri, 3 Nov 2023 11:54:02 +0100 Subject: [PATCH] Repo: removeDoc --- packages/automerge-repo/src/Repo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/automerge-repo/src/Repo.ts b/packages/automerge-repo/src/Repo.ts index cc192e8e5..85399f3ec 100644 --- a/packages/automerge-repo/src/Repo.ts +++ b/packages/automerge-repo/src/Repo.ts @@ -233,7 +233,7 @@ export class Repo extends EventEmitter { delete this.handles[documentId] // remove it from storage - void this.storageSubsystem?.remove(documentId) + void this.storageSubsystem?.removeDoc(documentId) // TODO Pass the delete on to the network // synchronizer.removeDocument(documentId)