Fix duplicate dates (#282)

This commit is contained in:
Geometrically
2022-01-25 13:00:32 -07:00
committed by GitHub
parent 989f2d3001
commit 73a8c302e9
2 changed files with 41 additions and 2 deletions

View File

@@ -1461,7 +1461,7 @@ pub async fn delete_from_index(
let indexes: Vec<meilisearch_sdk::indexes::Index> = client.get_indexes().await?;
for index in indexes {
index.delete_document(format!("local-{}", id)).await?;
index.delete_document(format!("{}", id)).await?;
}
Ok(())