mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-09 12:27:59 -05:00
chore: email change request debug
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user