mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove unused code.
This commit is contained in:
parent
beb563ac5c
commit
a44bcc00e2
@ -776,21 +776,6 @@ export class UserResolver {
|
||||
take: pageSize,
|
||||
})
|
||||
|
||||
if (users.length === 0) {
|
||||
return {
|
||||
userCount: 0,
|
||||
userList: [],
|
||||
}
|
||||
}
|
||||
|
||||
const adminUsers = await Promise.all(
|
||||
users.map((user) => {
|
||||
return {
|
||||
firstName: user.firstName,
|
||||
lastName: user.lastName,
|
||||
}
|
||||
}),
|
||||
)
|
||||
return {
|
||||
userCount: count,
|
||||
userList: users.map((user) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user