aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/peers.rs')
-rw-r--r--src/api/peers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/peers.rs b/src/api/peers.rs
index 30d1204..fc203f5 100644
--- a/src/api/peers.rs
+++ b/src/api/peers.rs
@@ -13,7 +13,7 @@ use tracing::warn;
use super::store_status;
use crate::document::replica::EpochRecord;
-use crate::document::store;
+use crate::document::view;
use crate::locks::MutexExt;
use crate::state::{AppState, HelloState, Incidents, Liveness};
use crate::swarm::peer::forgotten_path;
@@ -326,7 +326,7 @@ pub(crate) async fn delete_peer(
user,
crate::document::signatures::Sign::Protocol,
move |doc| {
- store::write_path(doc, &forgotten_path(&peer_clone), &record)?;
+ view::write_path(doc, &forgotten_path(&peer_clone), &record)?;
crate::swarm::members::unregister(doc, &peer_clone)
},
)