Skip to content

Commit d946339

Browse files
authored
Merge pull request #2 from deploymenttheory/dev-jl-general
mod path changed, func name change
2 parents 4392803 + 29bbf2d commit d946339

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

go.mod

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
module github.com/deploymenttheory/go-api-http-client-integration-jamfpro
1+
module github.com/deploymenttheory/go-api-http-client-integrations/jamfpro/jamfprointegration
22

3-
go 1.22.2
4-
5-
toolchain go1.22.3
3+
go 1.22.4
64

75
require (
86
github.com/deploymenttheory/go-api-http-client v0.1.43-0.20240603142132-2108676acbb3

jamfpro/jamfprointegration/interface.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type Integration struct {
1919
// Info
2020

2121
// TODO migrate strings
22-
func (j *Integration) Domain() string {
22+
func (j *Integration) GetFQDN() string {
2323
return j.BaseDomain
2424
}
2525

@@ -53,6 +53,6 @@ func (j *Integration) MarshalMultipartRequest(fields map[string]string, files ma
5353

5454
// TODO migrate strings
5555
func (j *Integration) GetSessionCookies() ([]*http.Cookie, error) {
56-
domain := j.Domain()
56+
domain := j.GetFQDN()
5757
return j.getSessionCookies(domain)
5858
}

0 commit comments

Comments
 (0)