mirror of
https://github.com/wahyd4/harbor.git
synced 2026-08-20 10:16:02 +10:00
missed quotes around json tag...
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ type User struct {
|
||||
Realname string `orm:"column(realname)" json:"realname"`
|
||||
Comment string `orm:"column(comment)" json:"comment"`
|
||||
Deleted int `orm:"column(deleted)" json:"deleted"`
|
||||
Rolename string `json:role_name`
|
||||
Rolename string `json:"role_name"`
|
||||
RoleID int `json:"role_id"`
|
||||
// RoleList []Role `json:"role_list"`
|
||||
HasAdminRole int `orm:"column(sysadmin_flag)" json:"has_admin_role"`
|
||||
|
||||
Reference in New Issue
Block a user