mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-28 13:16:33 +00:00
remove debugging change
This commit is contained in:
parent
ba09d0f858
commit
07b837f644
@ -49,11 +49,7 @@ export const findUserByIdentifier = async (
|
||||
const user = userContact.user
|
||||
user.emailContact = userContact
|
||||
return user
|
||||
} else {
|
||||
// should don't happen often, so we create only in the rare case a logger for it
|
||||
getLogger(`${LOG4JS_QUERIES_CATEGORY_NAME}.user.findUserByIdentifier`).warn("Couldn't find user by email in user_contacts", identifier)
|
||||
return null
|
||||
}
|
||||
}
|
||||
} else if (aliasSchema.safeParse(identifier).success) {
|
||||
return await DbUser.findOne({
|
||||
where: { alias: identifier, community: communityWhere },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user