misspell
This commit is contained in:
parent
bf5b9db7d6
commit
b6c9f13be2
1 changed files with 1 additions and 1 deletions
2
util.go
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue