diff --git a/crates/meilisearch/src/routes/features.rs b/crates/meilisearch/src/routes/features.rs index 96023547a..a70624c6b 100644 --- a/crates/meilisearch/src/routes/features.rs +++ b/crates/meilisearch/src/routes/features.rs @@ -205,6 +205,7 @@ async fn patch_features( &req, ); index_scheduler.put_runtime_features(new_features)?; + let new_features: RuntimeTogglableFeatures = new_features.into(); debug!(returns = ?new_features, "Patch features"); Ok(HttpResponse::Ok().json(new_features)) }