mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
correct error on settings delete unexisting index
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user