mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Fix error message
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
parent
9d9e0d4c54
commit
7df5e3f059
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue