Write and read language setting from backend
This commit is contained in:
@@ -19,6 +19,7 @@ type User struct {
|
||||
Name string `json:"name"`
|
||||
Vehicles []Vehicle `gorm:"many2many:user_vehicles;" json:"vehicles"`
|
||||
IsDisabled bool `json:"isDisabled"`
|
||||
Language string `json:"language"`
|
||||
}
|
||||
|
||||
func (b *User) MarshalJSON() ([]byte, error) {
|
||||
|
||||
Reference in New Issue
Block a user