diff --git a/meilisearch-http/src/routes/indexes/documents.rs b/meilisearch-http/src/routes/indexes/documents.rs index 13c522999..926a93476 100644 --- a/meilisearch-http/src/routes/indexes/documents.rs +++ b/meilisearch-http/src/routes/indexes/documents.rs @@ -236,7 +236,7 @@ async fn document_addition( return Err(MeilisearchHttpError::Payload(ReceivePayloadErr(Box::new(e)))); } }; - + let mut buffer = match File::create(&temp_file.as_ref()).await { Ok(buffer) => buffer, Err(e) => {