This commit is contained in:
jiangbo212 2022-12-07 17:04:24 +08:00
parent 2841b09789
commit cb1d184904

View File

@ -236,7 +236,7 @@ async fn document_addition(
return Err(MeilisearchHttpError::Payload(ReceivePayloadErr(Box::new(e)))); return Err(MeilisearchHttpError::Payload(ReceivePayloadErr(Box::new(e))));
} }
}; };
let mut buffer = match File::create(&temp_file.as_ref()).await { let mut buffer = match File::create(&temp_file.as_ref()).await {
Ok(buffer) => buffer, Ok(buffer) => buffer,
Err(e) => { Err(e) => {