3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-10 12:25:02 +00:00
zeppelin/backend/src/plugins/SelfGrantableRoles/util/normalizeRoleNames.ts

3 lines
106 B
TypeScript

export function normalizeRoleNames(roleNames: string[]) {
return roleNames.map(v => v.toLowerCase());
}