Skip to content

Commit 9698fbc

Browse files
committed
log
1 parent 660debc commit 9698fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jamf/jamfprointegration/preprequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// - Adds an "Authorization" header with a Bearer token obtained from the Integration's auth.getTokenString method.
2424
func (j *Integration) prepRequest(req *http.Request) error {
2525

26-
j.Sugar.Debugw("LOG-CONTENT-TYPE", "METHOD", req.Method)
26+
j.Sugar.Debugw("LOG-CONTENT-TYPE", "METHOD", req.Method, "URL", req.URL.String())
2727
if req.Method != "GET" && req.Method != "DELETE" {
2828
req.Header.Add("Content-Type", j.getContentTypeHeader(req.URL.String()))
2929
}

0 commit comments

Comments
 (0)