Skip to content

Commit

Permalink
add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Linnea Myllynen committed Apr 27, 2023
1 parent b85e556 commit 94723c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports.configurePassport = async (clientUrl) => {
lastname: profile.lastname,
membernumber: profile.membernumber,
}
console.log('Logging in - profile: ', profile)

try {
//TODO: Is there a way to not hard code these?
Expand All @@ -52,6 +53,7 @@ module.exports.configurePassport = async (clientUrl) => {
},
}
)
console.log('membeData: ', memberData)
console.log('memberData.ageGroupId: ', memberData.ageGroupId)

let ageGroup = 35 //Sudenpennut
Expand Down

0 comments on commit 94723c5

Please sign in to comment.