Skip to content

Commit

Permalink
Remove useless log
Browse files Browse the repository at this point in the history
  • Loading branch information
bynil committed Oct 26, 2019
1 parent 90f6612 commit addef70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func validateParams(sp SearchParams) (err error) {
if len([]rune(sp.Keyword)) > KeywordLengthMax {
return errors.New("too long keyword")
}
log.Info(len([]rune(sp.Keyword)))
if !SortTypeChoices.Contains(sp.Sort) {
return errors.New("invalid sort")
}
Expand Down

0 comments on commit addef70

Please sign in to comment.