Skip to content

Commit

Permalink
Updated Validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Fargekritt committed Feb 3, 2025
1 parent 72e11e5 commit 86ecb02
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ public SearchDialogQueryValidator()
.MinimumLength(3)
.When(x => x.Search is not null);

RuleFor(x => x.IdempotentKey)
.MaximumLength(36);

RuleFor(x => x.SearchLanguageCode)
.Must(x => x is null || Localization.IsValidCultureCode(x))
.WithMessage(searchQuery =>
Expand Down

0 comments on commit 86ecb02

Please sign in to comment.