mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
missed quotes around json tag...
This commit is contained in:
parent
1dcb19b519
commit
bbac16a033
@ -28,7 +28,7 @@ type User struct {
|
|||||||
Realname string `orm:"column(realname)" json:"realname"`
|
Realname string `orm:"column(realname)" json:"realname"`
|
||||||
Comment string `orm:"column(comment)" json:"comment"`
|
Comment string `orm:"column(comment)" json:"comment"`
|
||||||
Deleted int `orm:"column(deleted)" json:"deleted"`
|
Deleted int `orm:"column(deleted)" json:"deleted"`
|
||||||
Rolename string `json:role_name`
|
Rolename string `json:"role_name"`
|
||||||
RoleID int `json:"role_id"`
|
RoleID int `json:"role_id"`
|
||||||
// RoleList []Role `json:"role_list"`
|
// RoleList []Role `json:"role_list"`
|
||||||
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
||||||
|
Loading…
Reference in New Issue
Block a user