Change name of user to moderatorUser.

This commit is contained in:
elweyn 2022-12-20 10:24:27 +01:00
parent 2de16d9c17
commit dabef05dc0

View File

@ -686,9 +686,10 @@ export class ContributionResolver {
@Arg('id', () => Int) id: number,
@Ctx() context: Context,
): Promise<boolean> {
const user = getUser(context)
const moderatorUser = getUser(context)
const contributionToUpdate = await DbContribution.findOne({ id })
return true
}
}