From a13201a666ef03e3f707e01566268144c6c9aad5 Mon Sep 17 00:00:00 2001 From: Valentyne Stigloher Date: Mon, 17 Jun 2024 17:19:16 +0200 Subject: [PATCH] (user) fix typo in variable name --- server/routes/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/user.ts b/server/routes/user.ts index 3d8cff35a..a7ce5c71e 100644 --- a/server/routes/user.ts +++ b/server/routes/user.ts @@ -715,7 +715,7 @@ router.get('/user/social/:provider', handleErrorAsync(async (req, res) => { const payload: SocialProfilePayload = socialLoginHandlers[req.params.provider](req.session.grant.response); if (payload.id === undefined) { - console.error('Social login failed, payload has no id.', req.params.provider, req.payload); + console.error('Social login failed, payload has no id.', req.params.provider, payload); return res.status(400).json({ error: 'Something went wrong… Please try again.' }); }