Skip to content

Commit

Permalink
Omitempty tags on enrollment field
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Jun 20, 2021
1 parent d16aa2a commit 84cf636
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mdm/mdm.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (

// Enrollment represents the various enrollment-related data sent with requests.
type Enrollment struct {
UDID string
UserID string
UserShortName string
UserLongName string
EnrollmentID string
EnrollmentUserID string
UDID string `plist:",omitempty"`
UserID string `plist:",omitempty"`
UserShortName string `plist:",omitempty"`
UserLongName string `plist:",omitempty"`
EnrollmentID string `plist:",omitempty"`
EnrollmentUserID string `plist:",omitempty"`
}

// EnrollID contains the custom enrollment IDs derived from enrollment
Expand Down

0 comments on commit 84cf636

Please sign in to comment.