chore: email change request debug

This commit is contained in:
Artur
2024-10-02 22:19:01 -03:00
parent f67bba36ea
commit 8b11e2bde0

View File

@@ -74,6 +74,7 @@ export const accountRouter = router({
}
const user = await keycloak.users.findOne({ id: userId })
console.log(user)
if (!user || !user.id || !user.email || !user.attributes)
throw new TRPCError({