mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-27 17:37:57 +08:00
Make user avatar field nullable.
This commit is contained in:
parent
4997c10b97
commit
313b2af6cf
1 changed files with 1 additions and 1 deletions
|
@ -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"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue