mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add hasElopage status in AdminResolver.ts
This commit is contained in:
parent
f814267445
commit
4c3c49c9aa
@ -23,6 +23,7 @@ import { BalanceRepository } from '../../typeorm/repository/Balance'
|
||||
import { calculateDecay } from '../../util/decay'
|
||||
import { LoginUserRepository } from '../../typeorm/repository/LoginUser'
|
||||
import { AdminPendingCreation } from '@entity/AdminPendingCreation'
|
||||
import { UserResolver } from './UserResolver'
|
||||
|
||||
@Resolver()
|
||||
export class AdminResolver {
|
||||
@ -42,6 +43,7 @@ export class AdminResolver {
|
||||
adminUser.email = user.email
|
||||
adminUser.creation = await getUserCreations(user.id)
|
||||
adminUser.emailChecked = await hasActivatedEmail(user.email)
|
||||
// TODO: adminUser.hasElopage = await hasElopage()
|
||||
return adminUser
|
||||
}),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user