Potential fix for code scanning alert no. 3: Clear-text logging of sensitive information

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Icereed 2025-02-17 11:55:24 +01:00 committed by GitHub
parent 992b3b824b
commit b6e5c5340b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,7 +94,6 @@ func (client *PaperlessClient) Do(ctx context.Context, method, path string, body
log.WithFields(logrus.Fields{
"method": method,
"url": url,
"headers": req.Header,
}).Debug("Making HTTP request")
resp, err := client.HTTPClient.Do(req)