Fix spelling of error message in 'sendActivationEmail'

This commit is contained in:
Wolfgang Huß 2022-11-22 08:34:48 +01:00
parent b8fdb59d73
commit 624cd6e4bc

View File

@ -650,8 +650,8 @@ export class AdminResolver {
}
const emailContact = user.emailContact
if (emailContact.deletedAt) {
logger.error(`The emailContact: ${email} of htis User is deleted.`)
throw new Error(`The emailContact: ${email} of htis User is deleted.`)
logger.error(`The emailContact: ${email} of this User is deleted.`)
throw new Error(`The emailContact: ${email} of this User is deleted.`)
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars