Change call of checkOptInCode since signature changed.

This commit is contained in:
elweyn 2022-08-04 11:35:34 +02:00
parent 3a183918c5
commit f42ba05572

View File

@ -501,7 +501,7 @@ export class AdminResolver {
order: { updatedAt: 'DESC' },
})
optInCode = await checkOptInCode(optInCode, user.id)
optInCode = await checkOptInCode(optInCode, user)
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const emailSent = await sendAccountActivationEmail({