aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/document_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/document_file.rs')
-rw-r--r--src/swarm/document_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/document_file.rs b/src/swarm/document_file.rs
index 188b2b6..435ff32 100644
--- a/src/swarm/document_file.rs
+++ b/src/swarm/document_file.rs
@@ -47,7 +47,7 @@ pub(crate) async fn flush(state: &AppState) {
return;
}
let heads = replica.heads().to_vec();
- (heads, replica.doc.save_after(&since))
+ (heads, crate::document::save_since(&mut replica.doc, &since))
};
file.append(since, heads, increment).await;
}