diff --git a/rslib/src/import_export/gather.rs b/rslib/src/import_export/gather.rs index a9c929756..e96ba9a1c 100644 --- a/rslib/src/import_export/gather.rs +++ b/rslib/src/import_export/gather.rs @@ -24,7 +24,7 @@ pub(super) struct ExchangeData { pub(super) cards: Vec, pub(super) notetypes: Vec, pub(super) revlog: Vec, - pub(super) decks_configs: Vec, + pub(super) deck_configs: Vec, pub(super) media_paths: HashSet, } @@ -42,7 +42,7 @@ impl ExchangeData { if with_scheduling { self.revlog = col.gather_revlog()?; - self.decks_configs = col.gather_deck_configs(&self.decks)?; + self.deck_configs = col.gather_deck_configs(&self.decks)?; } else { self.remove_scheduling_information(col); }; diff --git a/rslib/src/import_export/insert.rs b/rslib/src/import_export/insert.rs index c0ea57de0..ff1db4015 100644 --- a/rslib/src/import_export/insert.rs +++ b/rslib/src/import_export/insert.rs @@ -11,7 +11,7 @@ impl Collection { self.insert_cards(&data.cards)?; self.insert_notetypes(&data.notetypes)?; self.insert_revlog(&data.revlog)?; - self.insert_deck_configs(&data.decks_configs)?; + self.insert_deck_configs(&data.deck_configs)?; Ok(()) }