Skip to content

Commit

Permalink
fix(gdoc): missing GdocHomepage return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbrgl committed Feb 28, 2024
1 parent df36eba commit 2cd5433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/model/Gdoc/GdocFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { GdocAuthor } from "./GdocAuthor.js"
export class GdocFactory {
static fromJSON(
json: Record<string, any>
): GdocPost | GdocDataInsight | GdocAuthor {
): GdocPost | GdocDataInsight | GdocHomepage | GdocAuthor {
if (typeof json.content === "string") {
json.content = JSON.parse(json.content)
}
Expand Down

0 comments on commit 2cd5433

Please sign in to comment.