diff --git a/models/models.go b/models/models.go index 88bdf70f..3e7f6c69 100644 --- a/models/models.go +++ b/models/models.go @@ -158,7 +158,7 @@ type User struct { Name string `db:"name" json:"name"` Type string `db:"type" json:"type"` Status string `db:"status" json:"status"` - Avatar string `db:"-" json:"avatar"` + Avatar null.String `db:"-" json:"avatar"` Permissions map[string]struct{} `db:"-" json:"-"` LoggedInAt null.Time `db:"loggedin_at" json:"loggedin_at"`