Skip to content

Commit bfcd7a4

Browse files
committed
test
1 parent 5a4e491 commit bfcd7a4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.22.4
44

55
// Deploymenttheory
66
require (
7-
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813121859-bc29e7589f2b
7+
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813122302-f2e9b213636a
88
github.com/deploymenttheory/go-api-http-client-integrations v0.0.9-0.20240813093612-60356b3bf69a
99
)
1010

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ github.com/aws/smithy-go v1.20.3/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC
4343
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
4444
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
4545
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
46-
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813121859-bc29e7589f2b h1:JrXycXUiqqMAlRFhAI6xJ4g7BTKj2JoVynur3Su92vU=
47-
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813121859-bc29e7589f2b/go.mod h1:LKDnBcieS6CyikZjTKPpziVdxnTwzBHE6Hx1cuWRcuU=
46+
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813122302-f2e9b213636a h1:8RrIvbGxzZhT523sENcPh7+ptuSbubIlCEAo+lMmHEk=
47+
github.com/deploymenttheory/go-api-http-client v0.2.11-0.20240813122302-f2e9b213636a/go.mod h1:LKDnBcieS6CyikZjTKPpziVdxnTwzBHE6Hx1cuWRcuU=
4848
github.com/deploymenttheory/go-api-http-client-integrations v0.0.9-0.20240813093612-60356b3bf69a h1:HIlFFhq/mtL/e/HyLoAwSQmwNyJCxXBkCeRIl5GT1Cg=
4949
github.com/deploymenttheory/go-api-http-client-integrations v0.0.9-0.20240813093612-60356b3bf69a/go.mod h1:yzHJLElNOxwSFj1hW6i3rnhkdsJoBbwmepWKDVdGd6Y=
5050
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=

sdk/jamfpro/jamfproapi_icons.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ func (c *Client) UploadIcon(filepath string) (*ResourceIcon, error) {
6464
endpoint := uriIcons
6565

6666
files := map[string][]string{
67-
"file": {filepath},
67+
"image": {filepath},
6868
}
6969

7070
formDataFields := map[string]string{
7171
// "description": "a cat",
7272
}
7373

7474
contentTypes := map[string]string{
75-
// "image": "image/png",
75+
"image": "image/png",
7676
}
7777

7878
formDataPartHeaders := map[string]http.Header{

0 commit comments

Comments
 (0)