Skip to content

Commit

Permalink
Merge pull request #27 from bnb-chain/mindpress-keyword-limit
Browse files Browse the repository at this point in the history
feat: cancel limit for picture search keyword
  • Loading branch information
cosinlink authored May 29, 2024
2 parents 3f4d5a7 + ffa44eb commit 8b7dc66
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 8b7dc66

Please sign in to comment.