diff --git a/pkg/amoClient/amo.go b/pkg/amoClient/amo.go index da50eee..03c6c8f 100644 --- a/pkg/amoClient/amo.go +++ b/pkg/amoClient/amo.go @@ -252,7 +252,7 @@ func (a *Amo) GetListTags(req models.GetListTagsReq, accessToken string, domain return nil, fmt.Errorf("request GetListTags failed: %v", errs[0]) } - a.logger.Info("Succesfull get tags:", zap.String("respBody", respBody), zap.String("fullUrl", fullURL)) + a.logger.Info("Succesfull get tags:", zap.String("respBody", string(resBody)), zap.String("fullUrl", fullURL)) if statusCode != fiber.StatusOK { errorMessage := fmt.Sprintf("received an incorrect response from GetListTags(%s): %s", fullURL, string(resBody))