(user) fix typo in variable name

This commit is contained in:
Valentyne Stigloher 2024-06-17 17:19:16 +02:00
parent 215631f27f
commit a13201a666

View File

@ -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.' });
}