mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
handle older clients not setting 'done' key when false
This commit is contained in:
parent
62df0aaa96
commit
370fc00afd
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ pub struct UnchunkedChanges {
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, Default)]
|
#[derive(Serialize, Deserialize, Debug, Default)]
|
||||||
pub struct Chunk {
|
pub struct Chunk {
|
||||||
|
#[serde(default)]
|
||||||
done: bool,
|
done: bool,
|
||||||
#[serde(skip_serializing_if = "Vec::is_empty", default)]
|
#[serde(skip_serializing_if = "Vec::is_empty", default)]
|
||||||
revlog: Vec<RevlogEntry>,
|
revlog: Vec<RevlogEntry>,
|
||||||
|
|
Loading…
Reference in a new issue