udpate getResponseFunc
This commit is contained in:
parent
c6dbf1fd94
commit
8201b658b2
|
@ -139,6 +139,7 @@ func getResponse(role model.DBRole) model.Role {
|
||||||
Name: role.Name,
|
Name: role.Name,
|
||||||
Code: role.Code,
|
Code: role.Code,
|
||||||
Level: role.Level,
|
Level: role.Level,
|
||||||
|
IsAdmin: role.IsAdmin,
|
||||||
CreatedAt: role.CreatedAt,
|
CreatedAt: role.CreatedAt,
|
||||||
UpdatedAt: role.UpdatedAt,
|
UpdatedAt: role.UpdatedAt,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue