server: refactor group requests to use filters

This commit is contained in:
Valentin Tolmer
2022-02-12 11:00:02 +01:00
committed by nitnelave
parent a1fe703bf0
commit c850fa4273
5 changed files with 319 additions and 149 deletions

View File

@@ -134,7 +134,7 @@ impl<Handler: BackendHandler + Sync> Query<Handler> {
}
Ok(context
.handler
.list_groups()
.list_groups(None)
.await
.map(|v| v.into_iter().map(Into::into).collect())?)
}