bug(snapshot): Correctly open environments in snapshots

This commit is contained in:
ad hoc 2022-02-22 18:16:02 +01:00
parent ce6ff294cf
commit 7e832105d7
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
5 changed files with 25 additions and 20 deletions

View file

@ -128,7 +128,6 @@ async fn get_stats(
meilisearch: GuardedData<ActionPolicy<{ actions::STATS_GET }>, MeiliSearch>,
) -> Result<HttpResponse, ResponseError> {
let search_rules = &meilisearch.filters().search_rules;
let response = meilisearch.get_all_stats(search_rules).await?;
debug!("returns: {:?}", response);