aboutsummaryrefslogtreecommitdiff
path: root/internal/httputil/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/httputil/http.go')
-rw-r--r--internal/httputil/http.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/httputil/http.go b/internal/httputil/http.go
index 9197371a..a469c8ac 100644
--- a/internal/httputil/http.go
+++ b/internal/httputil/http.go
@@ -73,9 +73,9 @@ func PostJSON(
Message string `json:"message"`
}
if msgerr := json.NewDecoder(res.Body).Decode(&errorBody); msgerr == nil {
- return fmt.Errorf("Internal API: %d from %s: %s", res.StatusCode, apiURL, errorBody.Message)
+ return fmt.Errorf("internal API: %d from %s: %s", res.StatusCode, apiURL, errorBody.Message)
}
- return fmt.Errorf("Internal API: %d from %s", res.StatusCode, apiURL)
+ return fmt.Errorf("internal API: %d from %s", res.StatusCode, apiURL)
}
return json.NewDecoder(res.Body).Decode(response)
}