mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
PATCH experimental-features also returns the route type rather than internal type
This commit is contained in:
parent
87ea080c10
commit
0c10063a87
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue