bug(snapshot): Correctly open environments in snapshots

This commit is contained in:
ad hoc 2022-02-22 18:16:02 +01:00 committed by Clémentine Urquizar
parent ff6a7b6007
commit 4fbb83a34d
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
5 changed files with 25 additions and 20 deletions

View file

@ -136,7 +136,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);