From b6c9f13be2ecde1b2f43bb19af657cee8268fa01 Mon Sep 17 00:00:00 2001 From: Alexander Sheiko Date: Fri, 14 Feb 2020 16:21:05 +0200 Subject: [PATCH] misspell --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 70d06a3..1d8bd26 100644 --- a/util.go +++ b/util.go @@ -26,7 +26,7 @@ func getHTMLFromJSON(req *http.Request, field string) (*strings.Reader, error) { htm, ok := ajaxJSON[field].(string) if !ok { - return nil, fmt.Errorf("filed not found in JSON") + return nil, fmt.Errorf("field not found in JSON") } return strings.NewReader(htm), nil