From 426a86fdee67058c3dd33d23d44c8ae8ada6fb61 Mon Sep 17 00:00:00 2001 From: Pasindu Yeshan Date: Mon, 30 Oct 2023 15:40:37 +0530 Subject: [PATCH] Change RoleDTO order --- .../wso2/carbon/identity/role/v2/mgt/core/dao/RoleDAOImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/src/main/java/org/wso2/carbon/identity/role/v2/mgt/core/dao/RoleDAOImpl.java b/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/src/main/java/org/wso2/carbon/identity/role/v2/mgt/core/dao/RoleDAOImpl.java index c17537de5791..7a412e924a22 100644 --- a/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/src/main/java/org/wso2/carbon/identity/role/v2/mgt/core/dao/RoleDAOImpl.java +++ b/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/src/main/java/org/wso2/carbon/identity/role/v2/mgt/core/dao/RoleDAOImpl.java @@ -1137,7 +1137,7 @@ private List getHybridRolesByApplication(String applicationId, String t String name = resultSet.getString(2); int tenantId = resultSet.getInt(3); int audienceRefId = resultSet.getInt(4); - hybridRoles.add(new RoleDTO(id, name, audienceRefId, tenantId)); + hybridRoles.add(new RoleDTO(name, id, audienceRefId, tenantId)); } } } catch (SQLException e) {