mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-10 14:46:36 +00:00
PATCH experimental-features also returns the route type rather than internal type
This commit is contained in:
@ -205,6 +205,7 @@ async fn patch_features(
|
|||||||
&req,
|
&req,
|
||||||
);
|
);
|
||||||
index_scheduler.put_runtime_features(new_features)?;
|
index_scheduler.put_runtime_features(new_features)?;
|
||||||
|
let new_features: RuntimeTogglableFeatures = new_features.into();
|
||||||
debug!(returns = ?new_features, "Patch features");
|
debug!(returns = ?new_features, "Patch features");
|
||||||
Ok(HttpResponse::Ok().json(new_features))
|
Ok(HttpResponse::Ok().json(new_features))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user