From efdbc70cd6c565716fb8d10ff4bdd51f01aebb33 Mon Sep 17 00:00:00 2001 From: JonJagger Date: Thu, 22 Aug 2024 13:46:32 +0100 Subject: [PATCH] Fix lint warnings --- internal/requests/requests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/requests/requests.go b/internal/requests/requests.go index f4eec2320..2704a1a70 100644 --- a/internal/requests/requests.go +++ b/internal/requests/requests.go @@ -233,7 +233,7 @@ func (c *Client) Do(p *RequestParams) (*HTTPResponse, error) { cleanedErrorMessage = fmt.Sprintf("%s", respBodyMap) } } - return nil, fmt.Errorf(cleanedErrorMessage) + return nil, fmt.Errorf("%s", cleanedErrorMessage) } return &HTTPResponse{string(body), resp}, nil }