Skip to content

Commit

Permalink
fix: use og_description column
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylie Chou committed Jan 30, 2024
1 parent 8b96dc6 commit 2406ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/news/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ type MetaOfFootprint struct {
ID primitive.ObjectID `bson:"_id" json:"id"`
Slug string `bson:"slug" json:"slug"`
HeroImage *Image `bson:"heroImage" json:"hero_image,omitempty"`
Description string `bson:"description" json:"description"`
Description string `bson:"og_description" json:"description"`
Title string `bson:"title" json:"title"`
Subtitle string `bson:"subtitle" json:"subtitle"`
CategorySet []category_set `bson:"category_set" json:"category_set,omitempty"`
Expand Down

0 comments on commit 2406ca5

Please sign in to comment.