mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-22 11:17:28 +01:00
PATCH experimental-features also returns the route type rather than internal type
This commit is contained in:
parent
87ea080c10
commit
0c10063a87
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user