Skip to content

Commit 82b7fd2

Browse files
committed
Update APIHandlerError and Version
1 parent 68b154e commit 82b7fd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apihandlers/graph/graph_api_error_messages.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import (
1111
"github.com/PuerkitoBio/goquery"
1212
)
1313

14-
// APIHandlerError represents an error response from the Jamf Pro API.
14+
// APIHandlerError represents an error response from the graph API.
1515
type APIHandlerError struct {
1616
HTTPStatusCode int `json:"httpStatusCode"`
1717
ErrorType string `json:"errorType"`
1818
ErrorMessage string `json:"errorMessage"`
1919
ExtraDetails map[string]interface{} `json:"extraDetails"`
2020
}
2121

22-
// ReturnAPIErrorResponse parses an HTTP error response from the Jamf Pro API.
22+
// ReturnAPIErrorResponse parses an HTTP error response from the graph API.
2323
func (g *GraphAPIHandler) ReturnAPIErrorResponse(resp *http.Response) *APIHandlerError {
2424
var errorMessage, errorType string
2525
var extraDetails map[string]interface{}

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package version
55
var AppName = "go-api-http-client"
66

77
// Version holds the current version of the application
8-
var Version = "0.0.28"
8+
var Version = "0.0.65"
99

1010
// GetAppName returns the name of the application
1111
func GetAppName() string {

0 commit comments

Comments
 (0)