mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change FindOperator<any> to <number>
This commit is contained in:
parent
70db65044c
commit
339b32a02f
@ -50,8 +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
|
||||
confirmedBy?: FindOperator<number> | null
|
||||
} = { userId: user.id }
|
||||
if (filterConfirmed) where.confirmedBy = IsNull()
|
||||
const contributions = await dbContribution.find({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user