diff options
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/dashboard/mod.rs | 2 | ||||
| -rw-r--r-- | src/api/store.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/api/dashboard/mod.rs b/src/api/dashboard/mod.rs index 0a502a3..86f349a 100644 --- a/src/api/dashboard/mod.rs +++ b/src/api/dashboard/mod.rs @@ -200,7 +200,7 @@ const MAX_CHANGED: usize = 256; /// Where the document changed since last asked (`Hub::documents`), if anywhere. fn document_changes( - changes: &mut broadcast::Receiver<Arc<crate::swarm::sync::ChangeSet>>, + changes: &mut broadcast::Receiver<Arc<crate::document::store::ChangeSet>>, ) -> Option<JsonValue> { let mut paths = BTreeSet::new(); let mut all = false; diff --git a/src/api/store.rs b/src/api/store.rs index 9c8cafd..0b0a40f 100644 --- a/src/api/store.rs +++ b/src/api/store.rs @@ -20,9 +20,8 @@ use tracing::{debug, error, instrument}; use super::auth::AuthenticatedUser; use super::{parse_key_path, parse_write_path, response_for_value, store_status}; -use crate::document::store::{self, StoreError}; +use crate::document::store::{self, StoreError, paths_related}; use crate::state::{AppState, ReadSource}; -use crate::swarm::sync::paths_related; #[derive(Debug, Default, Deserialize)] pub(crate) struct ReadQuery { |
