diff --git a/db/model/Gdoc/GdocFactory.ts b/db/model/Gdoc/GdocFactory.ts index 63681597d11..09ba18b3da9 100644 --- a/db/model/Gdoc/GdocFactory.ts +++ b/db/model/Gdoc/GdocFactory.ts @@ -18,7 +18,7 @@ import { GdocAuthor } from "./GdocAuthor.js" export class GdocFactory { static fromJSON( json: Record - ): GdocPost | GdocDataInsight | GdocAuthor { + ): GdocPost | GdocDataInsight | GdocHomepage | GdocAuthor { if (typeof json.content === "string") { json.content = JSON.parse(json.content) }