mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Integrate deserr
This commit is contained in:
parent
11ee7daa0f
commit
02fd06ea0b
9 changed files with 45 additions and 29 deletions
|
@ -521,7 +521,7 @@ impl Performer for SettingsUpdate {
|
|||
|
||||
if let Some(criteria) = self.criteria {
|
||||
if !criteria.is_empty() {
|
||||
update.set_criteria(criteria);
|
||||
update.set_criteria(criteria.iter().map(|c| c.parse()).collect::<Result<_, _>>()?);
|
||||
} else {
|
||||
update.reset_criteria();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue