Skip to content

Commit bc6893d

Browse files
authored
Merge pull request #87 from siryur/hotfix/user-types
Fix User.ManagerADID type
2 parents d647f62 + b59674d commit bc6893d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/onelogin/models/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ type User struct {
6262
Title string `json:"title,omitempty"`
6363
Company string `json:"company,omitempty"`
6464
Department string `json:"department,omitempty"`
65+
ManagerADID string `json:"manager_ad_id,omitempty"`
6566
Comment string `json:"comment,omitempty"`
6667
CreatedAt time.Time `json:"created_at,omitempty"`
6768
UpdatedAt time.Time `json:"updated_at,omitempty"`
@@ -76,7 +77,6 @@ type User struct {
7677
GroupID int32 `json:"group_id,omitempty"`
7778
DirectoryID int32 `json:"directory_id,omitempty"`
7879
TrustedIDPID int32 `json:"trusted_idp_id,omitempty"`
79-
ManagerADID int32 `json:"manager_ad_id,omitempty"`
8080
ManagerUserID int32 `json:"manager_user_id,omitempty"`
8181
ExternalID int32 `json:"external_id,omitempty"`
8282
ID int32 `json:"id,omitempty"`

0 commit comments

Comments
 (0)