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,
|
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 {
|
return {
|
||||||
userCount: count,
|
userCount: count,
|
||||||
userList: users.map((user) => {
|
userList: users.map((user) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user