style(proxy): fix function name (#243)

This commit is contained in:
Chaim Lev-Ari
2021-04-09 00:02:32 +03:00
committed by GitHub
parent edb05e6e00
commit 2fb60a29de
11 changed files with 18 additions and 17 deletions
@@ -11,8 +11,8 @@ import (
"strconv"
)
// GetResponseAsJSONOBject returns the response content as a generic JSON object
func GetResponseAsJSONOBject(response *http.Response) (map[string]interface{}, error) {
// GetResponseAsJSONObject returns the response content as a generic JSON object
func GetResponseAsJSONObject(response *http.Response) (map[string]interface{}, error) {
responseData, err := getResponseBodyAsGenericJSON(response)
if err != nil {
return nil, err