aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/stats.rs')
-rw-r--r--src/api/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs
index 86b93d5..651d6ba 100644
--- a/src/api/stats.rs
+++ b/src/api/stats.rs
@@ -309,7 +309,7 @@ pub(crate) async fn collect(state: &AppState, list: &PeerListResponse) -> StatsR
let (heads, tier, remakes) = {
let replica = state.doc.read().await;
let entries = state.entries();
- let listed = crate::document::view::members_of(&entries, &replica.doc);
+ let listed = &crate::document::view::members_of(&entries, &replica.doc);
let heads = replica.heads().len();
let remakes = crate::remake::summary(&state.remake, &replica.doc, replica.epoch);
(heads, members::tier(listed, state.local_id()), remakes)