From 63fd10aaa5c00c7a0a0f8c599a09e03fed9216f8 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Mon, 26 Jun 2023 10:40:54 +0200 Subject: [PATCH] Fix the invalid facet name field error code --- meilisearch/src/routes/indexes/facet_search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch/src/routes/indexes/facet_search.rs b/meilisearch/src/routes/indexes/facet_search.rs index 817c2a23d..21bc2d9c7 100644 --- a/meilisearch/src/routes/indexes/facet_search.rs +++ b/meilisearch/src/routes/indexes/facet_search.rs @@ -28,7 +28,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) { pub struct FacetSearchQuery { #[deserr(default, error = DeserrJsonError)] pub facet_query: Option, - #[deserr(error = DeserrJsonError, missing_field_error = DeserrJsonError::missing_facet_search_facet_name)] + #[deserr(error = DeserrJsonError, missing_field_error = DeserrJsonError::missing_facet_search_facet_name)] pub facet_name: String, #[deserr(default, error = DeserrJsonError)] pub q: Option,