Skip to content

Commit

Permalink
Merge pull request #92 from Stainless888/patch-2
Browse files Browse the repository at this point in the history
Update config.go
  • Loading branch information
wrighbr authored Mar 1, 2021
2 parents 3ae9582 + dd13d24 commit 8531be1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions models/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ type ConfigBodyPost struct {
EmailFrom string `json:"email_from,omitempty"`
RobotTokenDuration int `json:"robot_token_duration,omitempty"`
LdapVerifyCert bool `json:"ldap_verify_cert,omitempty"`

LdapGroupGID string `json:"ldap_group_gid,omitempty"`
LdapGroupGID string `json:"ldap_group_gid,omitempty"`
}

type ConfigBodyResponse struct {
Expand Down Expand Up @@ -207,4 +206,8 @@ type ConfigBodyResponse struct {
Editable bool `json:"editable,omitempty"`
Value string `json:"value,omitempty"`
} `json:"email_from,omitempty"`
LdapGroupGID struct {
Editable bool `json:"editable,omitempty"`
Value string `json:"value,omitempty"`
} `json:"ldap_group_gid,omitempty"`
}

0 comments on commit 8531be1

Please sign in to comment.