remove console.logs

This commit is contained in:
Claus-Peter Huebner 2023-07-11 19:35:58 +02:00
parent 538fd6a7ec
commit 928091029a
2 changed files with 0 additions and 4 deletions

View File

@ -224,7 +224,6 @@ export class UserResolver {
// check if user with email still exists?
email = email.trim().toLowerCase()
if (await checkEmailExists(email)) {
// console.log('email still exists! email', email)
const foundUser = await findUserByEmail(email)
logger.info('DbUser.findOne', email, foundUser)

View File

@ -19,13 +19,10 @@ export const userFactory = async (
createUser: { id },
},
} = await mutate({ mutation: createUser, variables: user })
// console.log('after creatUser:', { id }, { user })
// get user from database
let dbUser = await User.findOneOrFail({ where: { id }, relations: ['emailContact', 'userRoles'] })
// console.log('dbUser:', dbUser)
const emailContact = dbUser.emailContact
// console.log('emailContact:', emailContact)
if (user.emailChecked) {
await mutate({