From 8201b658b240831ba6a2da4ab98de061e87ccc79 Mon Sep 17 00:00:00 2001 From: Hoang Date: Wed, 24 Nov 2021 17:26:00 +0700 Subject: [PATCH] udpate getResponseFunc --- role/handle.go | 1 + 1 file changed, 1 insertion(+) diff --git a/role/handle.go b/role/handle.go index 8d03ae0..f9d06d3 100644 --- a/role/handle.go +++ b/role/handle.go @@ -139,6 +139,7 @@ func getResponse(role model.DBRole) model.Role { Name: role.Name, Code: role.Code, Level: role.Level, + IsAdmin: role.IsAdmin, CreatedAt: role.CreatedAt, UpdatedAt: role.UpdatedAt, }