mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Fix linting.
This commit is contained in:
parent
03bcf0ea7f
commit
8053033c52
@ -160,7 +160,6 @@ export class AdminResolver {
|
|||||||
return !!res
|
return !!res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Authorized([RIGHTS.CONFIRM_PENDING_CREATION])
|
@Authorized([RIGHTS.CONFIRM_PENDING_CREATION])
|
||||||
@Mutation(() => Boolean)
|
@Mutation(() => Boolean)
|
||||||
async confirmPendingCreation(@Arg('id') id: number, @Ctx() context: any): Promise<boolean> {
|
async confirmPendingCreation(@Arg('id') id: number, @Ctx() context: any): Promise<boolean> {
|
||||||
@ -338,6 +337,7 @@ function isCreationValid(creations: number[], amount: number, creationDate: Date
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
async function hasActivatedEmail(email: string): Promise<boolean> {
|
async function hasActivatedEmail(email: string): Promise<boolean> {
|
||||||
const repository = getCustomRepository(LoginUserRepository)
|
const repository = getCustomRepository(LoginUserRepository)
|
||||||
const user = await repository.findByEmail(email)
|
const user = await repository.findByEmail(email)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user