diff --git a/internal/utils/http/http.go b/internal/utils/http/http.go index 47fa6f88..743fa015 100644 --- a/internal/utils/http/http.go +++ b/internal/utils/http/http.go @@ -66,9 +66,6 @@ func ToRequest(req *http.Request, opts ...Option) (io.ReadCloser, error) { } if res.StatusCode != http.StatusOK { - defer res.Body.Close() - body, _ := io.ReadAll(res.Body) - fmt.Println(string(body)) return nil, fmt.Errorf("status code is not 200: %d", res.StatusCode) }