mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Change error code
This commit is contained in:
parent
fc1df5793c
commit
a0a3b55700
3 changed files with 6 additions and 6 deletions
|
@ -1410,7 +1410,7 @@ pub fn perform_facet_search(
|
|||
if !index.facet_search(&rtxn)? {
|
||||
return Err(ResponseError::from_msg(
|
||||
"The facet search is disabled for this index".to_string(),
|
||||
Code::InvalidFacetSearchDisabled,
|
||||
Code::FacetSearchDisabled,
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue