Update RoleService.ts
This commit is contained in:
parent
4bcdc6639d
commit
df1c448b3e
|
@ -423,7 +423,8 @@ export class RoleService implements OnApplicationShutdown, OnModuleInit {
|
|||
const set = new Set<string>();
|
||||
for (const v of vs) {
|
||||
for (const type of v) {
|
||||
set.add(type);
|
||||
if (type.trim() === '') continue;
|
||||
set.add(type.trim());
|
||||
}
|
||||
}
|
||||
return [...set];
|
||||
|
|
Loading…
Reference in New Issue