refactor: Remove list_local_users function

This commit is contained in:
Ginger committed 2026-07-07 11:33:47 -04:00
1 parent 431fb7330e
commit ad4f7973cb
6 files changed
+10 -20

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ pub(crate) async fn continuwuity_server_version() -> Result<impl IntoResponse> {
pub(crate) async fn continuwuity_local_user_count(
State(services): State<crate::State>,
) -> Result<impl IntoResponse> {
let user_count = services.users.list_local_users().count().await;
let user_count = services.users.stream_local_users().count().await;
Ok(Json(serde_json::json!({
"count": user_count