Update backend/src/graphql/resolver/UserResolver.ts

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Ulf Gebhardt 2023-02-02 02:04:38 +01:00 committed by GitHub
parent 42e2490d84
commit cd2eeee40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -797,7 +797,7 @@ export class UserResolver {
throw new LogError('Could not find user to given email contact', email)
}
if (user.deletedAt) {
throw new LogError(`User with emailContact: ${email} is deleted`, email)
throw new LogError('User with given email contact is deleted', email)
}
const emailContact = user.emailContact
if (emailContact.deletedAt) {