Change error code

This commit is contained in:
ManyTheFish 2024-12-05 14:48:29 +01:00
parent fc1df5793c
commit a0a3b55700
3 changed files with 6 additions and 6 deletions

View file

@ -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,
));
}