Fix invalid attributeToSearchOn error code to be consistent with the others search parameters error codes

This commit is contained in:
ManyTheFish 2023-07-03 11:52:43 +02:00
parent 661d1f90dc
commit 7a80c0dfb3
5 changed files with 8 additions and 8 deletions

View file

@ -72,7 +72,7 @@ pub struct SearchQueryGet {
crop_marker: String,
#[deserr(default, error = DeserrQueryParamError<InvalidSearchMatchingStrategy>)]
matching_strategy: MatchingStrategy,
#[deserr(default, error = DeserrQueryParamError<InvalidAttributesToSearchOn>)]
#[deserr(default, error = DeserrQueryParamError<InvalidSearchAttributesToSearchOn>)]
pub attributes_to_search_on: Option<CS<String>>,
}