diff --git a/packages/server/src/diff/content_handler.ts b/packages/server/src/diff/content_handler.ts index 24c9871..aa69c42 100644 --- a/packages/server/src/diff/content_handler.ts +++ b/packages/server/src/diff/content_handler.ts @@ -89,9 +89,12 @@ export class ContentDiffHandler { console.log("create",cpath, hash) const c = this.tombstone.get(hash); if (c !== undefined) { + console.log("revive document", c.id) + const content_body = await content.createDocumentBody(); await this.doc_cntr.update({ id: c.id, - ...content.createDocumentBody(), + ...content_body, + deleted_at: null, }); } if (this.waiting_list.hasByHash(hash)) {