Skip to content

Commit

Permalink
Add description as an alias
Browse files Browse the repository at this point in the history
  • Loading branch information
strawmelonjuice committed Aug 10, 2024
1 parent e9aae4a commit 893f97c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Main/publications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ pub(crate) enum CynthiaPublication {
Post {
id: String,
title: String,
#[serde(alias = "description")]
short: Option<String>,
dates: CynthiaPublicationDates,
thumbnail: Option<String>,
Expand All @@ -183,6 +184,7 @@ pub(crate) enum CynthiaPublication {
PostList {
id: String,
title: String,
#[serde(alias = "description")]
short: Option<String>,
filter: PostListFilter,
#[serde(alias = "scene")]
Expand Down

0 comments on commit 893f97c

Please sign in to comment.