Skip to content

Commit 660debc

Browse files
committed
bugfix
1 parent b3e3808 commit 660debc

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
@@ -24,7 +24,7 @@ import (
2424
func (j *Integration) prepRequest(req *http.Request) error {
2525

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

0 commit comments

Comments
 (0)