Skip to content

Commit 94723c5

Browse files
author
Linnea Myllynen
committed
add more logging
1 parent b85e556 commit 94723c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/auth.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports.configurePassport = async (clientUrl) => {
3838
lastname: profile.lastname,
3939
membernumber: profile.membernumber,
4040
}
41+
console.log('Logging in - profile: ', profile)
4142

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

5759
let ageGroup = 35 //Sudenpennut

0 commit comments

Comments
 (0)