Fix error message

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
Louis Dureuil 2025-03-12 11:48:40 +01:00
parent 9d9e0d4c54
commit 7df5e3f059
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -623,7 +623,7 @@ fn documents_by_query(
let mut parsed_ids = Vec::with_capacity(ids.len());
for (index, id) in ids.into_iter().enumerate() {
let id = id.try_into().map_err(|error| {
let msg = format!("In `.ids[{index}]`:{error}");
let msg = format!("In `.ids[{index}]`: {error}");
ResponseError::from_msg(msg, Code::InvalidDocumentIds)
})?;
parsed_ids.push(id)