Update server dependencies
This commit is contained in:
parent
d0df44c109
commit
d918262365
31 changed files with 1233 additions and 806 deletions
6
build/manifest/vendor/github.com/mattermost/mattermost-server/model/team.go
generated
vendored
6
build/manifest/vendor/github.com/mattermost/mattermost-server/model/team.go
generated
vendored
|
@ -47,6 +47,7 @@ type TeamPatch struct {
|
|||
DisplayName *string `json:"display_name"`
|
||||
Description *string `json:"description"`
|
||||
CompanyName *string `json:"company_name"`
|
||||
AllowedDomains *string `json:"allowed_domains"`
|
||||
InviteId *string `json:"invite_id"`
|
||||
AllowOpenInvite *bool `json:"allow_open_invite"`
|
||||
}
|
||||
|
@ -241,7 +242,6 @@ func CleanTeamName(s string) string {
|
|||
|
||||
func (o *Team) Sanitize() {
|
||||
o.Email = ""
|
||||
o.AllowedDomains = ""
|
||||
}
|
||||
|
||||
func (t *Team) Patch(patch *TeamPatch) {
|
||||
|
@ -257,6 +257,10 @@ func (t *Team) Patch(patch *TeamPatch) {
|
|||
t.CompanyName = *patch.CompanyName
|
||||
}
|
||||
|
||||
if patch.AllowedDomains != nil {
|
||||
t.AllowedDomains = *patch.AllowedDomains
|
||||
}
|
||||
|
||||
if patch.InviteId != nil {
|
||||
t.InviteId = *patch.InviteId
|
||||
}
|
||||
|
|
Reference in a new issue