Include empty teams array in invites (#623)

This commit is contained in:
Zach Wasserman 2021-04-08 16:59:50 -07:00 committed by GitHub
parent 2f51493d20
commit e8cb86231a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,5 +66,5 @@ type Invite struct {
Token string `json:"-"`
SSOEnabled bool `json:"sso_enabled" db:"sso_enabled"`
GlobalRole null.String `json:"global_role" db:"global_role"`
Teams []UserTeam `json:"teams,omitempty"`
Teams []UserTeam `json:"teams"`
}