mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
Makes the internal soft deleted error a UserError
This commit is contained in:
@ -959,7 +959,7 @@ impl Index {
|
||||
|
||||
for id in ids {
|
||||
if soft_deleted_documents.contains(id) {
|
||||
return Err(InternalError::AccessingSoftDeletedDocument { document_id: id })?;
|
||||
return Err(UserError::AccessingSoftDeletedDocument { document_id: id })?;
|
||||
}
|
||||
let kv = self
|
||||
.documents
|
||||
|
Reference in New Issue
Block a user