Explorar o código

Update http_util.go (#488)

type error.
soyoo %!s(int64=4) %!d(string=hai) anos
pai
achega
1255aadd20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/http_util.go

+ 1 - 1
common/http_util.go

@@ -46,7 +46,7 @@ func Send(logger api.Logger, client *http.Client, bodyType string, method string
 			switch value.(type) {
 			case []interface{}, map[string]interface{}:
 				if temp, err := json.Marshal(value); err != nil {
-					return nil, fmt.Errorf("fail to parse fomr value: %v", err)
+					return nil, fmt.Errorf("fail to parse from value: %v", err)
 				} else {
 					vstr = string(temp)
 				}