Skip to content

Commit

Permalink
feat: cancel limit for picture search keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinlink committed May 29, 2024
1 parent 3f4d5a7 commit ffa44eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func validateAddress(address string) error {
}

func validateKeyword(keyword string) error {
if len(keyword) < 3 {
if len(keyword) < 1 {
return InvalidKeywordErr
}
return nil
Expand Down

0 comments on commit ffa44eb

Please sign in to comment.