From c12dd204310d2eec24a68a93d3c247ab189e65e2 Mon Sep 17 00:00:00 2001 From: Ginger Date: Mon, 13 Apr 2026 16:33:43 -0400 Subject: [PATCH] refactor: Fix errors in `admin/check/commands.rs` --- src/admin/check/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/check/commands.rs b/src/admin/check/commands.rs index eb3089237..e482d1a9b 100644 --- a/src/admin/check/commands.rs +++ b/src/admin/check/commands.rs @@ -7,7 +7,7 @@ use crate::Context; #[implement(Context, params = "<'_>")] pub(super) async fn check_all_users(&self) -> Result { let timer = tokio::time::Instant::now(); - let users = self.services.users.iter().collect::>().await; + let users = self.services.users.stream().collect::>().await; let query_time = timer.elapsed(); let total = users.len();