Skip to content

Commit

Permalink
Remove console.log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarsPakers committed May 31, 2024
1 parent baa4249 commit 6d391f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/consent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ const extractSession = (
}

const traitsToMap = process.env.ID_TOKEN_TRAITS
console.log("traitsToMap", traitsToMap)
if (traitsToMap) {
const traits = traitsToMap.split(",")
for (const trait of traits) {
if (identity.traits[trait]) {
console.log("mapping trait", trait)
session.id_token[trait] = identity.traits[trait]
}
}
Expand Down

0 comments on commit 6d391f0

Please sign in to comment.