lfshttp/lfshttp.go: uppercase JSON in message

We convert a log message to use the uppercase acronym "JSON"
instead of the lowercase variant.
This commit is contained in:
Chris Darroch 2022-01-26 23:02:48 -08:00
parent 32da88f982
commit 9dc5afb405

@ -72,7 +72,7 @@ type decodeTypeError struct {
func (e *decodeTypeError) TypeError() {}
func (e *decodeTypeError) Error() string {
return fmt.Sprintf(tr.Tr.Get("Expected json type, got: %q", e.Type))
return fmt.Sprintf(tr.Tr.Get("Expected JSON type, got: %q", e.Type))
}
func DecodeJSON(res *http.Response, obj interface{}) error {