Skip to content

Commit

Permalink
fix(spas): fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Nov 27, 2024
1 parent 1ef6e16 commit 5acc69b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rari-doc/src/cached_readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ pub fn wiki_histories() -> Cow<'static, WikiHistories> {
}

#[derive(Debug, Clone, Copy, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
#[serde(default, rename_all = "camelCase")]
pub struct BasicSPA {
pub only_follow: bool,
pub no_indexing: bool,
Expand All @@ -764,7 +764,7 @@ impl Default for SPAData {
}

#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
#[serde(default, rename_all = "camelCase")]
pub struct BuildSPA {
pub slug: Cow<'static, str>,
pub page_title: Cow<'static, str>,
Expand Down

0 comments on commit 5acc69b

Please sign in to comment.