From c7f5abf736e6bed92250586843871e33227aa759 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Sun, 1 Dec 2024 00:49:22 +0700 Subject: [PATCH] update userrole name --- src/controllers/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/auth.ts b/src/controllers/auth.ts index 126404c..19021ce 100644 --- a/src/controllers/auth.ts +++ b/src/controllers/auth.ts @@ -90,6 +90,7 @@ export class AuthController { const data = { user, + role_name: UserRole.name, roles_list: await AuthController.getListRole(userRole.roles), token: { access_token: token,