mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
ass user relation to allow event
This commit is contained in:
parent
8f56be790b
commit
c140e04310
@ -322,7 +322,8 @@ export class ContributionResolver {
|
||||
const moderator = getUser(context)
|
||||
|
||||
const contributionToUpdate = await DbContribution.findOne({
|
||||
where: { id, confirmedAt: IsNull(), deniedAt: IsNull(), relations: ['user'] },
|
||||
where: { id, confirmedAt: IsNull(), deniedAt: IsNull() },
|
||||
relations: ['user'],
|
||||
})
|
||||
|
||||
if (!contributionToUpdate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user