From 94723c5b3fda71f93e89e9d8ce32e5d0667d3353 Mon Sep 17 00:00:00 2001 From: Linnea Myllynen Date: Thu, 27 Apr 2023 14:52:59 +0300 Subject: [PATCH] add more logging --- src/auth.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/auth.js b/src/auth.js index 72deba7..3d78234 100644 --- a/src/auth.js +++ b/src/auth.js @@ -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? @@ -52,6 +53,7 @@ module.exports.configurePassport = async (clientUrl) => { }, } ) + console.log('membeData: ', memberData) console.log('memberData.ageGroupId: ', memberData.ageGroupId) let ageGroup = 35 //Sudenpennut