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(),