mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
correct error on settings delete unexisting index
This commit is contained in:
parent
30dd790884
commit
66b64c1f80
3 changed files with 13 additions and 8 deletions
|
@ -23,9 +23,10 @@ impl Data {
|
|||
pub async fn update_settings(
|
||||
&self,
|
||||
index: String,
|
||||
settings: Settings
|
||||
settings: Settings,
|
||||
create: bool,
|
||||
) -> anyhow::Result<UpdateStatus> {
|
||||
let update = self.index_controller.update_settings(index, settings).await?;
|
||||
let update = self.index_controller.update_settings(index, settings, create).await?;
|
||||
Ok(update.into())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue