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

This commit is contained in:
Chaim Lev-Ari
2021-04-09 00:02:48 +03:00
committed by GitHub
parent c04bbb5775
commit ac7d819620
9 changed files with 12 additions and 12 deletions

View File

@@ -10,8 +10,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