mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
review changes
This commit is contained in:
parent
eb7616ca0f
commit
3ef0830c5d
6 changed files with 9 additions and 7 deletions
|
@ -203,7 +203,7 @@ impl IndexController {
|
|||
documents: Vec<String>,
|
||||
) -> anyhow::Result<UpdateStatus> {
|
||||
let uuid = self.uuid_resolver.get(uid).await?;
|
||||
let meta = UpdateMeta::DeleteDocuments { documents };
|
||||
let meta = UpdateMeta::DeleteDocuments { ids: documents };
|
||||
let (_, receiver) = mpsc::channel(1);
|
||||
let status = self.update_handle.update(meta, receiver, uuid).await?;
|
||||
Ok(status)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue