diff --git a/server.ts b/server.ts index 4ee700b..5ff08b8 100644 --- a/server.ts +++ b/server.ts @@ -74,9 +74,9 @@ passport.use( //skipUserProfile: false, // this is important, if not set to true, an error will be thrown }, (accessToken, refreshToken, profile, cb) => { - //console.log("accessToken", accessToken); - //console.log("refreshToken", refreshToken); - //console.log("profile", profile); + console.log("accessToken", accessToken); + console.log("refreshToken", refreshToken); + console.log("profile", profile); return cb(null, { profile, accessToken, refreshToken }); } diff --git a/src/controllers/calendarController.ts b/src/controllers/calendarController.ts index 9c7eaa3..e85e75d 100644 --- a/src/controllers/calendarController.ts +++ b/src/controllers/calendarController.ts @@ -57,8 +57,6 @@ export async function GetCalendarSettings(req: Request, res: Response) { return res.status(401).send({ err: "unauthorized" }); } - console.log("test", req.user); - res.status(200).send({ settings: { calendar_max_future_booking_days: