fix
This commit is contained in:
parent
f34ec87fa0
commit
8ae843574a
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ public class RoleProcessor implements DataProcessor<RoleData, UserApplicationRol
|
|||
boolean isAdminRole = Arrays.stream(adminRoles)
|
||||
.anyMatch(role -> role.equalsIgnoreCase(data.getName()));
|
||||
|
||||
record.setAdminRole(isAdminRole);
|
||||
record.setAdminRole(isAdminRole ? true : null);
|
||||
|
||||
return record;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue