From 264c3044c172d4ca3c351e02c0aea7e2bde098c6 Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Wed, 13 Nov 2024 13:46:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20initialize=20markdown=20at=20gdo?= =?UTF-8?q?c=20creation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/model/Gdoc/GdocFactory.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/model/Gdoc/GdocFactory.ts b/db/model/Gdoc/GdocFactory.ts index 4e2ebdfb8c6..692124645d7 100644 --- a/db/model/Gdoc/GdocFactory.ts +++ b/db/model/Gdoc/GdocFactory.ts @@ -113,6 +113,8 @@ export async function createGdocAndInsertIntoDb( GdocsContentSource.Gdocs ) + base.updateMarkdown() + // Save the enriched Gdoc to the database (including subclass-specific // enrichments, cf. _enrichSubclassContent()). Otherwise subclass // enrichments are not present on the Gdoc subclass when loading from the DB