From 06c891592b45e85199311e7c495c0c4958d0a073 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Fri, 21 Jun 2024 11:20:01 +0200 Subject: [PATCH] Update compress.go (#12) --- 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(),