From e3f72b4b70681ad4c42c448ecee5c0108ccafd7c Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Fri, 21 Jun 2024 11:19:45 +0200 Subject: [PATCH] Update compress.go --- compress/compress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress/compress.go b/compress/compress.go index 165b7d6..0570b6c 100644 --- a/compress/compress.go +++ b/compress/compress.go @@ -52,7 +52,7 @@ func NewCompress(clientId, apiKey string, isDebug bool) (ICompress, error) { if apiKey == "" { return nil, fmt.Errorf("apiKey is compulsory") } - customerName := string.Replace(clientId, "_client", "") + customerName := string.ReplaceAll(clientId, "_client", "") c := &compress{ debug: isDebug, restClient: resty.New(),