diff --git a/rslib/src/storage/deckconfig/mod.rs b/rslib/src/storage/deckconfig/mod.rs index ba7d12776..3d1895982 100644 --- a/rslib/src/storage/deckconfig/mod.rs +++ b/rslib/src/storage/deckconfig/mod.rs @@ -162,7 +162,9 @@ impl SqliteStorage { }) .map_err(Into::into) })?; - for (_, mut conf) in conf.into_iter() { + for (id, mut conf) in conf.into_iter() { + // buggy clients may have failed to set inner id to match hash key + conf.id = id; self.add_deck_conf_schema14(&mut conf)?; } self.db.execute_batch("update col set dconf=''")?;