Skip to content

Commit

Permalink
Merge pull request #1467 from cyd01/feat-add-themeid
Browse files Browse the repository at this point in the history
Add ThemeID in user creation/modification
  • Loading branch information
svanharmelen authored May 9, 2022
2 parents 65486a9 + 12c8904 commit 2cc60fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions users.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ type CreateUserOptions struct {
External *bool `url:"external,omitempty" json:"external,omitempty"`
PrivateProfile *bool `url:"private_profile,omitempty" json:"private_profile,omitempty"`
Note *string `url:"note,omitempty" json:"note,omitempty"`
ThemeID *int `url:"theme_id,omitempty" json:"theme_id,omitempty"`
}

// CreateUser creates a new user. Note only administrators can create new users.
Expand Down Expand Up @@ -252,6 +253,7 @@ type ModifyUserOptions struct {
External *bool `url:"external,omitempty" json:"external,omitempty"`
PrivateProfile *bool `url:"private_profile,omitempty" json:"private_profile,omitempty"`
Note *string `url:"note,omitempty" json:"note,omitempty"`
ThemeID *int `url:"theme_id,omitempty" json:"theme_id,omitempty"`
PublicEmail *string `url:"public_email,omitempty" json:"public_email,omitempty"`
}

Expand Down

0 comments on commit 2cc60fd

Please sign in to comment.