Skip to content

Commit

Permalink
Make validation fir internal requests less strict
Browse files Browse the repository at this point in the history
  • Loading branch information
shal committed Feb 2, 2023
1 parent 68b6bed commit 5fb0286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/domain/query/list_with_number_by_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (q *ListWithNumberByInternal) Validate() error {
validation.Field(
&q.Number,
validation.Required.Error(seedwork.Required),
validation.Length(6, 18).Error(seedwork.Invalid),
validation.Length(2, 18).Error(seedwork.Invalid),
),
)
}

0 comments on commit 5fb0286

Please sign in to comment.