Skip to content

Commit

Permalink
Fix default lang entries
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Nov 10, 2023
1 parent 5028d6d commit 5f3b365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import (
var Separator = "||"

func init() {
lang.SetDefaultValidationRule("goyave-filter-filter.array", "The filter format is invalid.")
lang.SetDefaultValidationRule("goyave-filter-join.array", "The join format is invalid.")
lang.SetDefaultValidationRule("goyave-filter-sort.array", "The sort format is invalid.")
lang.SetDefaultValidationRule("goyave-filter-filter.element", "The filter format is invalid.")
lang.SetDefaultValidationRule("goyave-filter-join.element", "The join format is invalid.")
lang.SetDefaultValidationRule("goyave-filter-sort.element", "The sort format is invalid.")
}

// FilterValidator checks the `filter` format and converts it to `*Filter` struct.
Expand Down

0 comments on commit 5f3b365

Please sign in to comment.