fixes
This commit is contained in:
@@ -14,7 +14,7 @@ type User struct {
|
||||
NewPassword string `gorm:"-" json:"newPassword,omitempty"`
|
||||
Expiration string `gorm:"column:expiration" json:"expiration,omitempty"`
|
||||
Settings Settings `gorm:"type:json" json:"settings"`
|
||||
Workspaces []*Workspace `gorm:"many2many:users_workspaces;" `
|
||||
Workspaces []*Workspace `gorm:"many2many:users_workspaces;" json:"workspaces"`
|
||||
}
|
||||
|
||||
func (u *User) IsValid() bool {
|
||||
|
||||
Reference in New Issue
Block a user