Fix linting.

This commit is contained in:
elweyn 2022-07-11 14:09:40 +02:00
parent f8cdad7e58
commit 70db65044c

View File

@ -50,6 +50,7 @@ export class ContributionResolver {
const user = getUser(context)
const where: {
userId: number
// eslint-disable-next-line @typescript-eslint/no-explicit-any
confirmedBy?: FindOperator<any> | null
} = { userId: user.id }
if (filterConfirmed) where.confirmedBy = IsNull()