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:
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user