typo in comment
This commit is contained in:
parent
b97da21d5c
commit
5bfbcda97d
|
@ -66,7 +66,7 @@ func (h *SearchHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
|||
|
||||
log.Printf("parsed request %#v", searchRequest)
|
||||
|
||||
// varlidate the query
|
||||
// validate the query
|
||||
err = searchRequest.Query.Validate()
|
||||
if err != nil {
|
||||
showError(w, req, fmt.Sprintf("error validating query: %v", err), 400)
|
||||
|
|
Loading…
Reference in New Issue