We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92f3fd commit 2dfb033Copy full SHA for 2dfb033
examples/icon/UploadIcon/UploadIcon.go
@@ -14,7 +14,6 @@ import (
14
)
15
16
func main() {
17
- // Define the path to the JSON configuration file
18
logger, _ := zap.NewDevelopment()
19
clientIntegration, _ := jamfprointegration.BuildWithOAuth(
20
"https://lbgsandbox.jamfcloud.com",
@@ -42,10 +41,10 @@ func main() {
42
41
43
client := jamfpro.Client{HTTP: libClient}
44
45
- // Path to the icon file you want to upload
+ // Client done
+
46
filePath := "/Users/joseph/github/go-api-sdk-jamfpro/examples/icon/UploadIcon/cat.png"
47
48
- // Call the UploadIcon function
49
uploadResponse, err := client.UploadIcon(filePath)
50
if err != nil {
51
fmt.Printf("Error uploading icon: %s\n", err)
0 commit comments